Răsfoiți Sursa

added sparse include

Former-commit-id: ee05896c59ee91bd210201dece05d7610280b675
dpanozzo 13 ani în urmă
părinte
comite
ddbc83c689
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      slice.h

+ 4 - 0
slice.h

@@ -1,5 +1,9 @@
 #ifndef IGL_SLICE_H
 #define IGL_SLICE_H
+
+#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
+#include <Eigen/Sparse>
+
 namespace igl
 {
   // Act like the matlab X(row_indices,col_indices) operator