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

Babbage fix

This commit is contained in:
paboyle 2015-09-30 16:04:01 -07:00
parent 3a478e5f2a
commit 1878bf97d0

View File

@ -82,7 +82,8 @@ namespace QCD {
template<class Impl> template<class Impl>
void WilsonFermion<Impl>::Mooee(const FermionField &in, FermionField &out) { void WilsonFermion<Impl>::Mooee(const FermionField &in, FermionField &out) {
out.checkerboard = in.checkerboard; out.checkerboard = in.checkerboard;
out = (4.0+mass)*in; typename FermionField::scalar_type scal(4.0+mass);
out = scal*in;
} }
template<class Impl> template<class Impl>