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

Fix error with conformable

This commit is contained in:
Daniel Richtmann 2017-11-07 15:00:08 +01:00
parent 176bf37372
commit b87416dac4
No known key found for this signature in database
GPG Key ID: B33C490AF0772057

View File

@ -71,7 +71,7 @@ class GeneralisedMinimalResidual : public OperatorFunction<Field> {
void operator()(LinearOperatorBase<Field> &LinOp, const Field &src, Field &psi) {
psi.checkerboard = src.checkerboard;
psi(conformable, src);
conformable(psi, src);
RealD guess = norm2(psi);
assert(std::isnan(guess) == 0);