mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-31 09:12:02 +08:00
Fix IterativeSolverBase referring to itself as ConjugateGradient
This commit is contained in:
parent
80ccacc717
commit
c61b3cb0db
@ -297,7 +297,7 @@ public:
|
||||
/** \returns the number of iterations performed during the last solve */
|
||||
Index iterations() const
|
||||
{
|
||||
eigen_assert(m_isInitialized && "ConjugateGradient is not initialized.");
|
||||
eigen_assert(m_isInitialized && "IterativeSolverBase is not initialized.");
|
||||
return m_iterations;
|
||||
}
|
||||
|
||||
@ -306,7 +306,7 @@ public:
|
||||
*/
|
||||
RealScalar error() const
|
||||
{
|
||||
eigen_assert(m_isInitialized && "ConjugateGradient is not initialized.");
|
||||
eigen_assert(m_isInitialized && "IterativeSolverBase is not initialized.");
|
||||
return m_error;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user