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

index 1c3e28dd880b4834d124b2f0995cac3b6ae69dd9..e5a79ee2036dd2bc3d11228deeba25fd577495a3 100644 (file)
@@ -77,8 +77,8 @@ void test ()
 
   if (myid==0)
     {
-      deallog << "(0,0) = " << matrix(0,0) << std::endl;
-      deallog << "(1,1) = " << matrix(1,1) << std::endl;
+      deallog << "(0,0) = " << get_real_assert_zero_imag(matrix(0,0)) << std::endl;
+      deallog << "(1,1) = " << get_real_assert_zero_imag(matrix(1,1)) << std::endl;
     }
 
   // done

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.