mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Added missing allocation of Weak Hamiltonian result vector
This commit is contained in:
parent
4a45c06dd7
commit
bdd2765461
@ -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());
|
||||
|
@ -41,7 +41,8 @@ BEGIN_MODULE_NAMESPACE(MContraction)
|
||||
enum
|
||||
{
|
||||
S_diag = 0,
|
||||
E_diag = 1
|
||||
E_diag = 1,
|
||||
n_eye_diag = 2
|
||||
};
|
||||
|
||||
// Saucer and Eye subdiagram contractions.
|
||||
|
@ -103,7 +103,7 @@ void TWeakHamiltonianNonEye::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_noneye_diag);
|
||||
unsigned int ndim = env().getNd();
|
||||
|
||||
PropagatorField tmp1(env().getGrid());
|
||||
|
@ -41,7 +41,8 @@ BEGIN_MODULE_NAMESPACE(MContraction)
|
||||
enum
|
||||
{
|
||||
W_diag = 0,
|
||||
C_diag = 1
|
||||
C_diag = 1,
|
||||
n_noneye_diag = 2
|
||||
};
|
||||
|
||||
// Wing and Connected subdiagram contractions
|
||||
|
Loading…
Reference in New Issue
Block a user