From eb29328bbddc8166ee9da29ebdf6fd4ea78af2af Mon Sep 17 00:00:00 2001 From: Stefan Reinhold Date: Mon, 23 Jul 2018 16:22:30 +0200 Subject: [PATCH] Use SparseMatrixBase::StorageIndex for Eigen >= 3.3.0 --- include/igl/sparse_cached.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/igl/sparse_cached.cpp b/include/igl/sparse_cached.cpp index c7a7daf1f..ddd65aadf 100644 --- a/include/igl/sparse_cached.cpp +++ b/include/igl/sparse_cached.cpp @@ -117,8 +117,7 @@ IGL_INLINE void igl::sparse_cached( #ifdef IGL_STATIC_LIBRARY -#if EIGEN_VERSION_AT_LEAST(3,3,2) -// SparseMatrixBase::StorageIndex was introduced in eigen 3.2.9 +#if EIGEN_VERSION_AT_LEAST(3,3,0) template void igl::sparse_cached(std::vector::StorageIndex>, std::allocator::StorageIndex> > > const&, Eigen::Matrix const&, Eigen::SparseMatrix&); template void igl::sparse_cached_precompute(std::vector::StorageIndex>, std::allocator::StorageIndex> > > const&, Eigen::Matrix&, Eigen::SparseMatrix&); #else