mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-02 18:20:38 +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 */
|
/** \returns the number of iterations performed during the last solve */
|
||||||
Index iterations() const
|
Index iterations() const
|
||||||
{
|
{
|
||||||
eigen_assert(m_isInitialized && "ConjugateGradient is not initialized.");
|
eigen_assert(m_isInitialized && "IterativeSolverBase is not initialized.");
|
||||||
return m_iterations;
|
return m_iterations;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -306,7 +306,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
RealScalar error() const
|
RealScalar error() const
|
||||||
{
|
{
|
||||||
eigen_assert(m_isInitialized && "ConjugateGradient is not initialized.");
|
eigen_assert(m_isInitialized && "IterativeSolverBase is not initialized.");
|
||||||
return m_error;
|
return m_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user