Use SparseMatrixBase::StorageIndex for Eigen >= 3.3.0

This commit is contained in:
Stefan Reinhold
2018-07-23 16:22:30 +02:00
parent f258368720
commit eb29328bbd
+1 -2
View File
@@ -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<double>(std::vector<Eigen::Triplet<double, Eigen::SparseMatrix<double, 0, int>::StorageIndex>, std::allocator<Eigen::Triplet<double, Eigen::SparseMatrix<double, 0, int>::StorageIndex> > > const&, Eigen::Matrix<int, -1, 1, 0, -1, 1> const&, Eigen::SparseMatrix<double, 0, int>&);
template void igl::sparse_cached_precompute<double>(std::vector<Eigen::Triplet<double, Eigen::SparseMatrix<double, 0, int>::StorageIndex>, std::allocator<Eigen::Triplet<double, Eigen::SparseMatrix<double, 0, int>::StorageIndex> > > const&, Eigen::Matrix<int, -1, 1, 0, -1, 1>&, Eigen::SparseMatrix<double, 0, int>&);
#else