]> https://gitweb.dealii.org/ - dealii.git/commitdiff
extend gla/vec_05 to complex-valued PETSc
authorDenis Davydov <davydden@gmail.com>
Tue, 29 Mar 2016 05:23:39 +0000 (07:23 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 29 Mar 2016 18:48:46 +0000 (20:48 +0200)
tests/gla/vec_05.cc

index c12efc7a2fecb92fe254ff32bd67572599798ddd..fa0d83e60a57b2b0544e89bc93707420a8efbbc1 100644 (file)
@@ -78,7 +78,7 @@ void test ()
   x.reinit(g);
   Assert(x.has_ghost_elements(), ExcInternalError());
   Assert(x.size()==g.size(), ExcInternalError());
-  deallog << x(1) << std::endl;
+  deallog << get_real_assert_zero_imag(x(1)) << std::endl;
 
   x.reinit(v);
   Assert(!x.has_ghost_elements(), ExcInternalError());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.