From ae4e705e09b267fd12e8176b6735b1612057506d Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Wed, 18 Oct 2023 22:34:21 -0400 Subject: [PATCH] Use random vec as easier for debug --- tests/debug/Test_general_coarse_hdcg.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/debug/Test_general_coarse_hdcg.cc b/tests/debug/Test_general_coarse_hdcg.cc index 27dcbb5a..2b5b54b8 100644 --- a/tests/debug/Test_general_coarse_hdcg.cc +++ b/tests/debug/Test_general_coarse_hdcg.cc @@ -261,7 +261,10 @@ int main (int argc, char ** argv) int Nconv; std::vector eval(Nm); std::vector evec(Nm,Coarse5d); - CoarseVector c_src(Coarse5d); c_src=1.0; + CoarseVector c_src(Coarse5d); + //c_src=1.0; + random(CRNG,c_src); + CoarseVector c_res(Coarse5d); CoarseVector c_ref(Coarse5d);