Former-commit-id: d03ac44c4dd7da355fc4021b86ad5d1a70690c3b
@@ -162,8 +162,11 @@ IGL_INLINE bool igl::boundary_conditions(
// If there's only a single boundary condition, the following tests
// are overzealous.
- if(bc.rows() == 1)
+ if(bc.cols() == 1)
{
+ // If there is only one weight function,
+ // then we expect that there is only one handle.
+ assert(P.rows() + BE.rows() == 1);
return true;
}