1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Removed unnecessary repeat of write in Weak Hamiltonian contractions

This commit is contained in:
Lanny91 2017-02-08 12:43:13 +00:00
parent e5a7ed4362
commit 6ebf8b12b6
2 changed files with 2 additions and 4 deletions

View File

@ -135,6 +135,5 @@ void TWeakHamiltonianEye::execute(void)
SUM_MU(expbuf, E_body[mu]*E_loop[mu]) SUM_MU(expbuf, E_body[mu]*E_loop[mu])
MAKE_DIAG(expbuf, corrbuf, result[E_diag], "HW_E") MAKE_DIAG(expbuf, corrbuf, result[E_diag], "HW_E")
write(writer, "HW_Eye", result[S_diag]); write(writer, "HW_Eye", result);
write(writer, "HW_Eye", result[E_diag]);
} }

View File

@ -137,6 +137,5 @@ void TWeakHamiltonianNonEye::execute(void)
SUM_MU(expbuf, W_i_side_loop[mu]*W_f_side_loop[mu]) SUM_MU(expbuf, W_i_side_loop[mu]*W_f_side_loop[mu])
MAKE_DIAG(expbuf, corrbuf, result[W_diag], "HW_W") MAKE_DIAG(expbuf, corrbuf, result[W_diag], "HW_W")
write(writer, "HW_NonEye", result[C_diag]); write(writer, "HW_NonEye", result);
write(writer, "HW_NonEye", result[W_diag]);
} }