Browse Source

added sparse include

Former-commit-id: ee05896c59ee91bd210201dece05d7610280b675
dpanozzo 13 years ago
parent
commit
ddbc83c689
1 changed files with 4 additions and 0 deletions
  1. 4 0
      slice.h

+ 4 - 0
slice.h

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