1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-09-19 21:25:36 +01:00

effective mass fix

This commit is contained in:
Antonin Portelli 2020-01-28 20:15:28 +00:00
parent 0e8b9d2a8f
commit c37e6e1bfd

View File

@ -106,9 +106,9 @@ DVec EffectiveMass::operator()(const DVec &corr) const
break;
case CorrelatorType::linear:
em.resize(nt - 1);
for (Index t = 0; t < nt - 1; ++t)
for (Index t = 1; t < nt; ++t)
{
em(t) = corr(t) - corr(t - 1);
em(t - 1) = corr(t) - corr(t - 1);
}
break;
case CorrelatorType::cst: