From 7408b0b2c7bfc1a4b0c1ec5ef2be945bf5b1187d Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Tue, 29 Mar 2016 07:26:46 +0200 Subject: [PATCH] extend gla/block_vec_01 to complex-valued PETSc --- tests/gla/block_vec_01.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gla/block_vec_01.cc b/tests/gla/block_vec_01.cc index 3f665fac2b..9729e7c20f 100644 --- a/tests/gla/block_vec_01.cc +++ b/tests/gla/block_vec_01.cc @@ -71,7 +71,7 @@ void test () deallog << "block(0).size: " << v.block(0).size() << std::endl; deallog << "block(1).size: " << v.block(1).size() << std::endl; if (block1.n_elements()>0) - deallog << "my first entry: " << v(block1.nth_index_in_set(0)) << std::endl; + deallog << "my first entry: " << get_real_assert_zero_imag(v(block1.nth_index_in_set(0))) << std::endl; // done if (myid==0) -- 2.39.5