mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix a few remaining warnings
and fix commainitializer unit test with MSVC
This commit is contained in:
@@ -24,15 +24,20 @@
|
||||
|
||||
#ifndef EIGEN_TESTSPARSE_H
|
||||
|
||||
#ifdef __GNUC__
|
||||
#include <ext/hash_map>
|
||||
#include "main.h"
|
||||
|
||||
#if EIGEN_GNUC_AT_LEAST(4,0)
|
||||
#include <tr1/unordered_map>
|
||||
#define EIGEN_UNORDERED_MAP_SUPPORT
|
||||
namespace std {
|
||||
using std::tr1::unordered_map;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef EIGEN_GOOGLEHASH_SUPPORT
|
||||
#include <google/sparse_hash_map>
|
||||
#endif
|
||||
|
||||
#include "main.h"
|
||||
#include <Eigen/Cholesky>
|
||||
#include <Eigen/LU>
|
||||
#include <Eigen/Sparse>
|
||||
|
||||
Reference in New Issue
Block a user