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:
parent
781c611ca0
commit
7382787856
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user