1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 13:40:46 +01:00

Some minor changes

This commit is contained in:
Daniel Richtmann 2017-11-08 14:23:55 +01:00
parent 781c611ca0
commit 7382787856
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

View File

@ -247,8 +247,8 @@ class GeneralisedMinimalResidual : public OperatorFunction<Field> {
for (int i = iter; i >= 0; i--) { for (int i = iter; i >= 0; i--) {
y[i] = gamma[i]; y[i] = gamma[i];
for (int k = i + 1; k <= iter; k++) for (int k = i + 1; k <= iter; k++)
y[i] -= H(k, i) * y[k]; y[i] = y[i] - H(k, i) * y[k];
y[i] /= H(i, i); y[i] = y[i] / H(i, i);
} }
// TODO: Use axpys or similar for these // TODO: Use axpys or similar for these