mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
added includes for unordered_map
This commit is contained in:
parent
e6a5a594a7
commit
e3e74001f7
@ -31,6 +31,22 @@ static long g_dense_op_sparse_count = 0;
|
|||||||
#include "sparse_basic.cpp"
|
#include "sparse_basic.cpp"
|
||||||
#endif
|
#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>
|
#include <Eigen/SparseExtra>
|
||||||
|
|
||||||
template<typename SetterType,typename DenseType, typename Scalar, int Options>
|
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>
|
template<typename SparseMatrixType>
|
||||||
void check_marketio()
|
void check_marketio()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user