From 1878bf97d050d38ce117c43a196d63ed5584132c Mon Sep 17 00:00:00 2001 From: paboyle Date: Wed, 30 Sep 2015 16:04:01 -0700 Subject: [PATCH] Babbage fix --- lib/qcd/action/fermion/WilsonFermion.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/qcd/action/fermion/WilsonFermion.cc b/lib/qcd/action/fermion/WilsonFermion.cc index caea055f..053526cd 100644 --- a/lib/qcd/action/fermion/WilsonFermion.cc +++ b/lib/qcd/action/fermion/WilsonFermion.cc @@ -82,7 +82,8 @@ namespace QCD { template void WilsonFermion::Mooee(const FermionField &in, FermionField &out) { out.checkerboard = in.checkerboard; - out = (4.0+mass)*in; + typename FermionField::scalar_type scal(4.0+mass); + out = scal*in; } template