diff --git a/lib/algorithms/iterative/FlexibleGeneralisedMinimalResidual.h b/lib/algorithms/iterative/FlexibleGeneralisedMinimalResidual.h index ce82ed4d..f190e386 100644 --- a/lib/algorithms/iterative/FlexibleGeneralisedMinimalResidual.h +++ b/lib/algorithms/iterative/FlexibleGeneralisedMinimalResidual.h @@ -59,11 +59,11 @@ class FlexibleGeneralisedMinimalResidual : public OperatorFunction { LinearFunction &Preconditioner; - FlexibleGeneralisedMinimalResidual(RealD tol, - Integer maxit, - LinearFunction &Prec, - Integer restart_length, - bool err_on_no_conv = true) + FlexibleGeneralisedMinimalResidual(RealD tol, + Integer maxit, + LinearFunction &Prec, + Integer restart_length, + bool err_on_no_conv = true) : Tolerance(tol) , MaxIterations(maxit) , RestartLength(restart_length) diff --git a/lib/algorithms/iterative/GeneralisedMinimalResidual.h b/lib/algorithms/iterative/GeneralisedMinimalResidual.h index 0f7bf155..76c9a8bf 100644 --- a/lib/algorithms/iterative/GeneralisedMinimalResidual.h +++ b/lib/algorithms/iterative/GeneralisedMinimalResidual.h @@ -79,7 +79,7 @@ class GeneralisedMinimalResidual : public OperatorFunction { assert(std::isnan(guess) == 0); RealD cp; - RealD ssq = norm2(src); + RealD ssq = norm2(src); RealD rsq = Tolerance * Tolerance * ssq; Field r(src._grid);