Parcourir la source

bug in upper bounds

Former-commit-id: e061d3e757732addc70f67b5c27521657d8136b4
Alec Jacobson il y a 8 ans
Parent
commit
fce7d3d851
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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());