Просмотр исходного кода

bug in upper bounds

Former-commit-id: e061d3e757732addc70f67b5c27521657d8136b4
Alec Jacobson 8 лет назад
Родитель
Сommit
fce7d3d851
1 измененных файлов с 1 добавлено и 1 удалено
  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());