From 5fa69422a2d0f2d508c52e1b0eb39ed7e0d63726 Mon Sep 17 00:00:00 2001 From: Jitse Niesen Date: Sun, 21 Sep 2014 14:19:23 +0100 Subject: [PATCH] Fix copy-and-paste typo in SolveWithGuess assignment This fixes compilation of code snippets in BiCGSTAB docs. --- Eigen/src/IterativeLinearSolvers/SolveWithGuess.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h index 46dd5babe..6cd4872dc 100644 --- a/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h +++ b/Eigen/src/IterativeLinearSolvers/SolveWithGuess.h @@ -93,12 +93,12 @@ protected: PlainObject m_result; }; -// Specialization for "dst = dec.solve(rhs)" +// Specialization for "dst = dec.solveWithGuess(rhs)" // NOTE we need to specialize it for Dense2Dense to avoid ambiguous specialization error and a Sparse2Sparse specialization must exist somewhere template struct Assignment, internal::assign_op, Dense2Dense, Scalar> { - typedef Solve SrcXprType; + typedef SolveWithGuess SrcXprType; static void run(DstXprType &dst, const SrcXprType &src, const internal::assign_op &) { // FIXME shall we resize dst here?