Parcourir la source

Fix typo in test that caused test failure in Debug mode (#2137)

Signed-off-by: BruegelN <[email protected]>

Signed-off-by: BruegelN <[email protected]>
Nico il y a 2 ans
Parent
commit
1284a39f13
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/igl/writePLY.cpp

+ 1 - 1
include/igl/writePLY.cpp

@@ -141,7 +141,7 @@ bool writePLY(
 
 
     if(ED.cols()>0)
     if(ED.cols()>0)
     {
     {
-        assert(ED.rows()==F.rows());
+        assert(ED.rows()==E.rows());
         assert(ED.cols() == EDheader.size());
         assert(ED.cols() == EDheader.size());
 
 
         _ed.resize(ED.size());
         _ed.resize(ED.size());