1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Some minor formatting improvements

This commit is contained in:
Daniel Richtmann 2017-11-09 12:52:04 +01:00
parent c63095345e
commit 8402ab6cf9
No known key found for this signature in database
GPG Key ID: B33C490AF0772057
2 changed files with 6 additions and 6 deletions

View File

@ -59,11 +59,11 @@ class FlexibleGeneralisedMinimalResidual : public OperatorFunction<Field> {
LinearFunction<Field> &Preconditioner;
FlexibleGeneralisedMinimalResidual(RealD tol,
Integer maxit,
LinearFunction<Field> &Prec,
Integer restart_length,
bool err_on_no_conv = true)
FlexibleGeneralisedMinimalResidual(RealD tol,
Integer maxit,
LinearFunction<Field> &Prec,
Integer restart_length,
bool err_on_no_conv = true)
: Tolerance(tol)
, MaxIterations(maxit)
, RestartLength(restart_length)

View File

@ -79,7 +79,7 @@ class GeneralisedMinimalResidual : public OperatorFunction<Field> {
assert(std::isnan(guess) == 0);
RealD cp;
RealD ssq = norm2(src);
RealD ssq = norm2(src);
RealD rsq = Tolerance * Tolerance * ssq;
Field r(src._grid);