mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-22 04:44:25 +08:00
Fix Paradiso.
EIGEN_USING_STD -> EIGEN_USING_STD_MATH
This commit is contained in:
parent
dc252fbf00
commit
bfdd4a9903
@ -192,7 +192,7 @@ class PardisoImpl : public SparseSolverBase<Derived>
|
||||
void pardisoInit(int type)
|
||||
{
|
||||
m_type = type;
|
||||
EIGEN_USING_STD(abs);
|
||||
EIGEN_USING_STD_MATH(abs);
|
||||
bool symmetric = abs(m_type) < 10;
|
||||
m_iparm[0] = 1; // No solver default
|
||||
m_iparm[1] = 2; // use Metis for the ordering
|
||||
|
Loading…
x
Reference in New Issue
Block a user