From: Martin Kronbichler Date: Sun, 17 Nov 2013 15:45:16 +0000 (+0000) Subject: Fix non-MPI case X-Git-Tag: v8.1.0~265 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feeaa164ecbe168d0611ebc8ce689131284361ab;p=dealii.git Fix non-MPI case git-svn-id: https://svn.dealii.org/trunk@31688 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/lac/trilinos_vector_base.h b/deal.II/include/deal.II/lac/trilinos_vector_base.h index 84d3f82918..d5e2217ad9 100644 --- a/deal.II/include/deal.II/lac/trilinos_vector_base.h +++ b/deal.II/include/deal.II/lac/trilinos_vector_base.h @@ -2207,9 +2207,7 @@ namespace TrilinosWrappers #else - const Epetra_SerialComm *serial_comm - = dynamic_cast(&vector->Map().Comm()); - comm = serial_comm->Comm(); + comm = MPI_COMM_SELF; #endif