From 43dc2814dda9376f937bb8be5364e32c54fe6eb0 Mon Sep 17 00:00:00 2001 From: Nils Asmussen Date: Wed, 15 Apr 2020 16:10:15 +0100 Subject: [PATCH] fix regression in core/Test_qed.cc --- tests/core/Test_qed.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/Test_qed.cc b/tests/core/Test_qed.cc index 775d6307..2630ef66 100644 --- a/tests/core/Test_qed.cc +++ b/tests/core/Test_qed.cc @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) std::cout << GridLogMessage << "Spatial zero-mode norm 2" << std::endl; sliceSum(a, zm, grid.Nd() - 1); - for (unsigned int t = 0; t < latt_size.size(); ++t) + for (unsigned int t = 0; t < latt_size[Tp]; ++t) { std::cout << GridLogMessage << "t = " << t << " " << std::sqrt(norm2(zm[t])) << std::endl; }