]> https://gitweb.dealii.org/ - dealii.git/commitdiff
cleanup mpi/p4est_save_03
authorDenis Davydov <davydden@gmail.com>
Tue, 29 Mar 2016 21:28:16 +0000 (23:28 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 29 Mar 2016 21:28:16 +0000 (23:28 +0200)
tests/mpi/p4est_save_03.cc

index bbadf28e9eeb18cc0a4fa081019773f0d0773902..8c9b1df4a6d17148fbce0c7c32b4ae68aa8f07f6 100644 (file)
@@ -138,7 +138,7 @@ void test()
     PETScWrappers::MPI::Vector solution2 (locally_owned_dofs, MPI_COMM_WORLD);
     parallel::distributed::SolutionTransfer<dim, PETScWrappers::MPI::Vector> soltrans (dh);
     parallel::distributed::SolutionTransfer<dim, PETScWrappers::MPI::Vector> soltrans2 (dh);
-    solution = static_cast<PETScWrappers::MPI::Vector::value_type>(2);
+    solution = 2;
     soltrans.deserialize (solution);
     soltrans2.deserialize (solution2);
 

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.