added includes for unordered_map

(cherry picked from commit e3e74001f7c4bf95f0dde572e8a08c5b2918a3ab)
This commit is contained in:
jenswehner 2021-08-10 13:34:57 +02:00 committed by Rasmus Munk Larsen
parent 93bff85a42
commit 338924602d

View File

@ -31,6 +31,22 @@ static long g_dense_op_sparse_count = 0;
#include "sparse_basic.cpp"
#endif
#if EIGEN_HAS_CXX11
#ifdef min
#undef min
#endif
#ifdef max
#undef max
#endif
#include <unordered_map>
#define EIGEN_UNORDERED_MAP_SUPPORT
#endif
#include <Eigen/SparseExtra>
template<typename SetterType,typename DenseType, typename Scalar, int Options>
@ -146,6 +162,7 @@ template<typename SparseMatrixType> void sparse_extra(const SparseMatrixType& re
}
template<typename SparseMatrixType>
void check_marketio()
{