From 8402ab6cf953fa8b00ddf52f319a4459a1521c71 Mon Sep 17 00:00:00 2001 From: Daniel Richtmann Date: Thu, 9 Nov 2017 12:52:04 +0100 Subject: [PATCH] Some minor formatting improvements --- .../iterative/FlexibleGeneralisedMinimalResidual.h | 10 +++++----- lib/algorithms/iterative/GeneralisedMinimalResidual.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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);