mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
effective mass fix
This commit is contained in:
parent
0e8b9d2a8f
commit
c37e6e1bfd
@ -106,9 +106,9 @@ DVec EffectiveMass::operator()(const DVec &corr) const
|
|||||||
break;
|
break;
|
||||||
case CorrelatorType::linear:
|
case CorrelatorType::linear:
|
||||||
em.resize(nt - 1);
|
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;
|
break;
|
||||||
case CorrelatorType::cst:
|
case CorrelatorType::cst:
|
||||||
|
Loading…
Reference in New Issue
Block a user