]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix non-MPI case
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Nov 2013 15:45:16 +0000 (15:45 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Nov 2013 15:45:16 +0000 (15:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@31688 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_vector_base.h

index 84d3f8291819b76bda4cb9e8dda3d3e43756cc51..d5e2217ad9a09fee0f8e8199071f8649d0a8dc4c 100644 (file)
@@ -2207,9 +2207,7 @@ namespace TrilinosWrappers
 
 #else
 
-    const Epetra_SerialComm *serial_comm
-      = dynamic_cast<const Epetra_SerialComm *>(&vector->Map().Comm());
-    comm = serial_comm->Comm();
+    comm = MPI_COMM_SELF;
 
 #endif
 

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.