mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
added std:: scope to abs function call
This commit is contained in:
parent
238308e0f7
commit
92fce631ed
@ -219,7 +219,7 @@ class PardisoImpl
|
|||||||
void pardisoInit(int type)
|
void pardisoInit(int type)
|
||||||
{
|
{
|
||||||
m_type = type;
|
m_type = type;
|
||||||
bool symmetric = abs(m_type) < 10;
|
bool symmetric = std::abs(m_type) < 10;
|
||||||
m_iparm[0] = 1; // No solver default
|
m_iparm[0] = 1; // No solver default
|
||||||
m_iparm[1] = 3; // use Metis for the ordering
|
m_iparm[1] = 3; // use Metis for the ordering
|
||||||
m_iparm[2] = 1; // Numbers of processors, value of OMP_NUM_THREADS
|
m_iparm[2] = 1; // Numbers of processors, value of OMP_NUM_THREADS
|
||||||
|
Loading…
Reference in New Issue
Block a user