diff --git a/lib/qcd/action/scalar/ScalarImpl.h b/lib/qcd/action/scalar/ScalarImpl.h index ee2d2fb8..0116b4f9 100644 --- a/lib/qcd/action/scalar/ScalarImpl.h +++ b/lib/qcd/action/scalar/ScalarImpl.h @@ -15,6 +15,8 @@ namespace Grid { typedef iImplField SiteField; + template using iImplScalar= iScalar > >; + typedef iImplScalar ComplexField; typedef Lattice Field; @@ -51,13 +53,14 @@ namespace Grid { public: typedef S Simd; - template - using iImplField = iScalar > >; - + template using iImplField = iScalar > >; + typedef iImplField SiteField; - - typedef Lattice Field; + + template using iImplScalar= iScalar > >; + typedef iImplScalar ComplexField; + static inline void generate_momenta(Field& P, GridParallelRNG& pRNG){ gaussian(pRNG, P); diff --git a/tests/debug/Test_cayley_ldop_cr.cc b/tests/debug/Test_cayley_ldop_cr.cc index dfda43d2..cbefdd46 100644 --- a/tests/debug/Test_cayley_ldop_cr.cc +++ b/tests/debug/Test_cayley_ldop_cr.cc @@ -67,7 +67,7 @@ int main (int argc, char ** argv) LatticeFermion err(FGrid); LatticeGaugeField Umu(UGrid); - NerscField header; + FieldMetaData header; std::string file("./ckpoint_lat.400"); NerscIO::readConfiguration(Umu,header,file); diff --git a/tests/solver/Test_dwf_hdcr.cc b/tests/solver/Test_dwf_hdcr.cc index 64ca0b33..c553ba0a 100644 --- a/tests/solver/Test_dwf_hdcr.cc +++ b/tests/solver/Test_dwf_hdcr.cc @@ -516,7 +516,7 @@ int main (int argc, char ** argv) LatticeColourMatrix U(UGrid); LatticeColourMatrix zz(UGrid); - NerscField header; + FieldMetaData header; std::string file("./ckpoint_lat.4000"); NerscIO::readConfiguration(Umu,header,file);