|
@@ -8,10 +8,8 @@
|
|
|
#include "slice.h"
|
|
|
#include "colon.h"
|
|
|
|
|
|
-#include <unsupported/Eigen/SparseExtra>
|
|
|
-#include <Eigen/Sparse>
|
|
|
#include <vector>
|
|
|
-#include <complex>
|
|
|
+#include <unsupported/Eigen/SparseExtra>
|
|
|
|
|
|
template <typename T>
|
|
|
IGL_INLINE void igl::slice(
|
|
@@ -82,7 +80,7 @@ IGL_INLINE void igl::slice(
|
|
|
// handled here (although it's not clear if there is a performance gain when
|
|
|
// the #removals >> #remains). If this is sufficiently faster than the
|
|
|
// correct code above, one could test whether all entries in R and C are
|
|
|
- // unique and apply the permutation version if appropriate.
|
|
|
+ // unique and apply the permutation version if appropriate.
|
|
|
//
|
|
|
|
|
|
int xm = X.rows();
|