1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 07:17:06 +01:00

Added missing allocation of Weak Hamiltonian result vector

This commit is contained in:
Lanny91
2017-02-07 13:06:42 +00:00
parent 4a45c06dd7
commit bdd2765461
4 changed files with 6 additions and 4 deletions

View File

@ -101,7 +101,7 @@ void TWeakHamiltonianEye::execute(void)
Gamma g5 = Gamma(Gamma::Algebra::Gamma5);
LatticeComplex expbuf(env().getGrid());
std::vector<TComplex> corrbuf;
std::vector<Result> result;
std::vector<Result> result(n_eye_diag);
unsigned int ndim = env().getNd();
PropagatorField tmp1(env().getGrid());