浏览代码

minor fix in an assert in plane_project.cpp

Former-commit-id: a2a884713ffe80d56b38c2a1da560e2ff33ceed6
Daniele Panozzo 11 年之前
父节点
当前提交
c16084d7e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/igl/plane_project.cpp

+ 1 - 1
include/igl/plane_project.cpp

@@ -16,7 +16,7 @@ IGL_INLINE void igl::plane_project(
 {
   using namespace std;
   using namespace Eigen;
-  assert(F.rows() == 3 && "F should contain triangles");
+  assert(F.cols() == 3 && "F should contain triangles");
   typedef Eigen::PlainObjectBase<DerivedV> MatrixX;
   MatrixX l;
   edge_lengths(V,F,l);