Browse Source

reverted change on slice_into.cpp with DynamicSparseMatrix

Teseo Schneider 6 years ago
parent
commit
d9e44e0907
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/slice_into.cpp

+ 1 - 1
include/igl/slice_into.cpp

@@ -34,7 +34,7 @@ IGL_INLINE void igl::slice_into(
 #endif
 #endif
 
 
   // create temporary dynamic sparse matrix
   // create temporary dynamic sparse matrix
-  Eigen::SparseMatrix<T, Eigen::RowMajor>  dyn_Y(Y);
+  Eigen::DynamicSparseMatrix<T, Eigen::RowMajor> dyn_Y(Y);
   // Iterate over outside
   // Iterate over outside
   for(int k=0; k<X.outerSize(); ++k)
   for(int k=0; k<X.outerSize(); ++k)
   {
   {