From 300cf2f3a929eb2ce3ff24ce21afb05b6e958c94 Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 29 Mar 2016 07:22:09 +0200 Subject: [PATCH] extend gla/vec_04 to complex-valued PETSc --- tests/gla/vec_04.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/gla/vec_04.cc b/tests/gla/vec_04.cc index 95f3435e70..5e75284695 100644 --- a/tests/gla/vec_04.cc +++ b/tests/gla/vec_04.cc @@ -71,10 +71,10 @@ void test () typename LA::MPI::Vector x; x=v; // x is empty so it should copy layout(with ghosts) and data Assert(x.has_ghost_elements(), ExcInternalError()); - deallog << "ghosted value: " << x(1) << std::endl; + deallog << "ghosted value: " << get_real_assert_zero_imag(x(1)) << std::endl; x=vb; // import, so keep ghost elements Assert(x.has_ghost_elements(), ExcInternalError()); - deallog << "ghosted value: " << x(1) << std::endl; + deallog << "ghosted value: " << get_real_assert_zero_imag(x(1)) << std::endl; } { typename LA::MPI::Vector x; @@ -83,7 +83,7 @@ void test () x=test; x=v; Assert(x.has_ghost_elements(), ExcInternalError()); - deallog << "ghosted value: " << x(1) << std::endl; + deallog << "ghosted value: " << get_real_assert_zero_imag(x(1)) << std::endl; } // done -- 2.39.5