]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation without MPI 2684/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 15 Jun 2016 19:38:51 +0000 (21:38 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 15 Jun 2016 19:38:51 +0000 (21:38 +0200)
include/deal.II/lac/communication_pattern_base.h
include/deal.II/lac/trilinos_vector_base.h

index 56665b4e0e92a4d5c294b82f8e78f3529a2e8c98..d07cd68c1fd6b80c9cc11b707ee112cb734f2a6f 100644 (file)
@@ -17,9 +17,6 @@
 #define dealii__communication_pattern_base_h
 
 #include <deal.II/base/config.h>
-
-#ifdef DEAL_II_WITH_MPI
-
 #include <deal.II/base/mpi.h>
 
 DEAL_II_NAMESPACE_OPEN
@@ -68,5 +65,3 @@ namespace LinearAlgebra
 DEAL_II_NAMESPACE_CLOSE
 
 #endif
-
-#endif
index 6df31fb9ce641a1904ec513163ad898bae5694f3..1438b12d7c2815167e78a5c0408eb8f0893584ca 100644 (file)
@@ -26,6 +26,7 @@
 #  include <deal.II/base/subscriptor.h>
 #  include <deal.II/lac/exceptions.h>
 #  include <deal.II/lac/vector.h>
+#  include <deal.II/base/mpi.h>
 
 #  include <vector>
 #  include <utility>

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.