From 2295bff6a9da817e2fbea5b8fa189cf3b7d6dbcc Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 29 Mar 2016 07:35:00 +0200 Subject: [PATCH] extend gla/mat_02 to complex-valued PETSc --- tests/gla/mat_02.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gla/mat_02.cc b/tests/gla/mat_02.cc index 9ec508d667..62ea6333a2 100644 --- a/tests/gla/mat_02.cc +++ b/tests/gla/mat_02.cc @@ -74,8 +74,8 @@ void test () // check local values if (myid==0) { - deallog << "1,1 : " << mat(1,1) << std::endl; - deallog << "0,1 : " << mat(0,1) << std::endl; + deallog << "1,1 : " << get_real_assert_zero_imag(mat(1,1)) << std::endl; + deallog << "0,1 : " << get_real_assert_zero_imag(mat(0,1)) << std::endl; } // done -- 2.39.5