Browse Source

bug in tri tri adj

Former-commit-id: d6bc10cd5891e943cfada730045a7477063cc3d1
Alec Jacobson 10 năm trước cách đây
mục cha
commit
fa5b143325

+ 1 - 1
include/igl/triangle_triangle_adjacency.cpp

@@ -136,7 +136,7 @@ template <
   }
   }
   // E2E[i] --> {j,k,...} means face edge i corresponds to other faces edges j
   // E2E[i] --> {j,k,...} means face edge i corresponds to other faces edges j
   // and k
   // and k
-  TT.resize (m,vector<vector<TIIndex> >(F.cols()));
+  TT.resize (m,vector<vector<TTIndex> >(F.cols()));
   TTi.resize(m,vector<vector<TTiIndex> >(F.cols()));
   TTi.resize(m,vector<vector<TTiIndex> >(F.cols()));
   for(int e = 0;e<E.rows();e++)
   for(int e = 0;e<E.rows();e++)
   {
   {