fixed 'igl::is_irregular_vertex()' exception if CMAKE_BUILD_TYPE=Debug.

This commit is contained in:
BruegelN
2019-06-25 23:48:34 +02:00
parent b856635ba7
commit 287ae99d3d
+1 -1
View File
@@ -13,7 +13,7 @@
template <typename DerivedV, typename DerivedF>
IGL_INLINE std::vector<bool> igl::is_irregular_vertex(const Eigen::PlainObjectBase<DerivedV> &V, const Eigen::PlainObjectBase<DerivedF> &F)
{
Eigen::VectorXi count = Eigen::VectorXi::Zero(F.maxCoeff());
Eigen::VectorXi count = Eigen::VectorXi::Zero(F.maxCoeff()+1);
for(unsigned i=0; i<F.rows();++i)
{