mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 13:40:46 +01:00
QedFVol: Fix segmentation fault when multiple propagator modules are used.
This commit is contained in:
parent
f37ed4958b
commit
c5b23c367e
@ -240,6 +240,14 @@ void TChargedProp::makeCaches(void)
|
|||||||
phase_.push_back(&phmu);
|
phase_.push_back(&phmu);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
phase_.clear();
|
||||||
|
for (unsigned int mu = 0; mu < env().getNd(); ++mu)
|
||||||
|
{
|
||||||
|
phase_.push_back(env().getObject<ScalarField>(phaseName_[mu]));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void TChargedProp::momD1(ScalarField &s, FFT &fft)
|
void TChargedProp::momD1(ScalarField &s, FFT &fft)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user