浏览代码

added sparse include

Former-commit-id: ee05896c59ee91bd210201dece05d7610280b675
dpanozzo 13 年之前
父节点
当前提交
ddbc83c689
共有 1 个文件被更改,包括 4 次插入0 次删除
  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