Pārlūkot izejas kodu

bug in upper bounds

Former-commit-id: e061d3e757732addc70f67b5c27521657d8136b4
Alec Jacobson 8 gadi atpakaļ
vecāks
revīzija
fce7d3d851
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/igl/active_set.cpp

+ 1 - 1
include/igl/active_set.cpp

@@ -77,7 +77,7 @@ IGL_INLINE igl::SolverStatus igl::active_set(
   {
     lx = p_lx;
   }
-  if(ux.size() == 0)
+  if(p_ux.size() == 0)
   {
     ux = Eigen::PlainObjectBase<Derivedux>::Constant(
       n,1,numeric_limits<typename Derivedux::Scalar>::max());