From 46e3d6add43ed1a7375aed275979afc1941b14af Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 29 Mar 2016 08:49:24 +0200 Subject: [PATCH] extend gla/mat_06 to complex-valued PETSc --- tests/gla/mat_06.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gla/mat_06.cc b/tests/gla/mat_06.cc index 70bed13d00..a8ca001b08 100644 --- a/tests/gla/mat_06.cc +++ b/tests/gla/mat_06.cc @@ -71,17 +71,17 @@ void test () deallog << "l1-norm: " << mat.l1_norm() << std::endl; if (myid==0) - deallog << "mat(0,1): " << mat(0,1) << std::endl; + deallog << "mat(0,1): " << get_real_assert_zero_imag(mat(0,1)) << std::endl; mat.copy_from(mat); deallog << "l1-norm: " << mat.l1_norm() << std::endl; if (myid==0) - deallog << "mat(0,1): " << mat(0,1) << std::endl; + deallog << "mat(0,1): " << get_real_assert_zero_imag(mat(0,1)) << std::endl; mat.reinit(mat); deallog << "l1-norm: " << mat.l1_norm() << std::endl; if (myid==0) - deallog << "mat(0,1): " << mat(0,1) << std::endl; + deallog << "mat(0,1): " << get_real_assert_zero_imag(mat(0,1)) << std::endl; if (myid==0) deallog << "OK" << std::endl; -- 2.39.5