Fix Paradiso.

EIGEN_USING_STD -> EIGEN_USING_STD_MATH
This commit is contained in:
szczepaniak bartek 2020-10-08 19:38:35 +00:00
parent dc252fbf00
commit bfdd4a9903

View File

@ -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