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

index 9ec508d6677a7579db17074468135a66a18ba4e2..62ea6333a209cd1af0b5df4a2ac5f95a4ca3ee49 100644 (file)
@@ -74,8 +74,8 @@ void test ()
   // check local values
   if (myid==0)
     {
-      deallog << "1,1 : " << mat(1,1) << std::endl;
-      deallog << "0,1 : " << mat(0,1) << std::endl;
+      deallog << "1,1 : " << get_real_assert_zero_imag(mat(1,1)) << std::endl;
+      deallog << "0,1 : " << get_real_assert_zero_imag(mat(0,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.