From ffd73016499c4f725342517aef2abbac3ebc0ceb Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Thu, 1 Jun 2023 06:23:02 -0400 Subject: [PATCH] Updated masked / fthmc smeared config container --- Grid/qcd/smearing/GaugeConfigurationMasked.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Grid/qcd/smearing/GaugeConfigurationMasked.h b/Grid/qcd/smearing/GaugeConfigurationMasked.h index 07aa16b8..23c8dba9 100644 --- a/Grid/qcd/smearing/GaugeConfigurationMasked.h +++ b/Grid/qcd/smearing/GaugeConfigurationMasked.h @@ -701,13 +701,16 @@ public: { if(domask) assert(Nsmear%(2*Nd)==0); // Or multiply by 8?? + // was resized in base class + assert(this->SmearedSet.size()==Nsmear); + GridRedBlackCartesian * UrbGrid; UrbGrid = SpaceTimeGrid::makeFourDimRedBlackGrid(_UGrid); LatticeComplex one(_UGrid); one = ComplexD(1.0,0.0); LatticeComplex tmp(_UGrid); for (unsigned int i = 0; i < this->smearingLevels; ++i) { - this->SmearedSet.push_back(*(new GaugeField(_UGrid))); + masks.push_back(*(new LatticeLorentzComplex(_UGrid))); if (domask) {