1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-16 23:07:05 +01:00

Annoying, cannot rely on equivalence of Grid ComplexD adn Eigen Complex type on GPU.

Solve with ComplexD typecasts but must be a better way
This commit is contained in:
Peter Boyle
2019-06-04 20:47:49 +01:00
parent 6e2e904a0e
commit 7a1569bd46
9 changed files with 76 additions and 66 deletions

View File

@ -48,11 +48,11 @@ template<class Field> class MinimalResidual : public OperatorFunction<Field> {
void operator()(LinearOperatorBase<Field> &Linop, const Field &src, Field &psi) {
psi.checkerboard = src.checkerboard;
psi.Checkerboard() = src.Checkerboard();
conformable(psi, src);
Complex a, c;
Real d;
ComplexD a, c;
RealD d;
Field Mr(src);
Field r(src);