mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +08:00
Fix compilation and warning of PARDISO
This commit is contained in:
parent
e90229a429
commit
8ea7413a64
@ -219,7 +219,7 @@ class PardisoImpl
|
||||
void pardisoInit(int 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[1] = 3; // use Metis for the ordering
|
||||
m_iparm[2] = 1; // Numbers of processors, value of OMP_NUM_THREADS
|
||||
@ -278,7 +278,7 @@ class PardisoImpl
|
||||
Index m_size;
|
||||
|
||||
private:
|
||||
PardisoImpl(PardisoImpl &) {}
|
||||
PardisoImpl(const PardisoImpl&);
|
||||
};
|
||||
|
||||
template<class Derived>
|
||||
@ -436,7 +436,7 @@ class PardisoLU : public PardisoImpl< PardisoLU<MatrixType> >
|
||||
}
|
||||
|
||||
private:
|
||||
PardisoLU(PardisoLU& ) {}
|
||||
PardisoLU(const PardisoLU&);
|
||||
};
|
||||
|
||||
/** \ingroup PardisoSupport_Module
|
||||
@ -495,7 +495,7 @@ class PardisoLLT : public PardisoImpl< PardisoLLT<MatrixType,_UpLo> >
|
||||
}
|
||||
|
||||
private:
|
||||
PardisoLLT(PardisoLLT& ) {}
|
||||
PardisoLLT(const PardisoLLT&);
|
||||
};
|
||||
|
||||
/** \ingroup PardisoSupport_Module
|
||||
@ -554,7 +554,7 @@ class PardisoLDLT : public PardisoImpl< PardisoLDLT<MatrixType,Options> >
|
||||
}
|
||||
|
||||
private:
|
||||
PardisoLDLT(PardisoLDLT& ) {}
|
||||
PardisoLDLT(const PardisoLDLT&);
|
||||
};
|
||||
|
||||
namespace internal {
|
||||
|
Loading…
Reference in New Issue
Block a user