added std:: scope to abs function call

This commit is contained in:
Christoph Hertzberg 2014-11-28 02:24:51 +00:00
parent 238308e0f7
commit 92fce631ed

View File

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