Sfoglia il codice sorgente

Used first documented version for StorageIndex

SparseMatrixBase::StorageIndex was first documented in Eigen 3.3.2.

Former-commit-id: f25836872071d7fcf7534173025697f40bff9245
Stefan Reinhold 7 anni fa
parent
commit
674ccb459c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/igl/sparse_cached.cpp

+ 1 - 1
include/igl/sparse_cached.cpp

@@ -117,7 +117,7 @@ IGL_INLINE void igl::sparse_cached(
 
 
 #ifdef IGL_STATIC_LIBRARY
-#if EIGEN_VERSION_AT_LEAST(3,2,9)
+#if EIGEN_VERSION_AT_LEAST(3,3,2)
 // SparseMatrixBase::StorageIndex was introduced in eigen 3.2.9
   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>&);