[cig-commits] [commit] master: Fix compilation error introduced in 6a39ed4. (a480534)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Fri Oct 10 13:56:12 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/7f599838008afc73167a3d20f4c255f7e459274d...a4d34fe709bd538894313ef1f1b5ab7a0e67791f

>---------------------------------------------------------------

commit a480534e663701ddf542a5f3eb127ca7b8554025
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date:   Fri Oct 10 15:12:21 2014 -0500

    Fix compilation error introduced in 6a39ed4.


>---------------------------------------------------------------

a480534e663701ddf542a5f3eb127ca7b8554025
 source/simulator/core.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/simulator/core.cc b/source/simulator/core.cc
index 993fdfb..31b182b 100644
--- a/source/simulator/core.cc
+++ b/source/simulator/core.cc
@@ -761,15 +761,15 @@ namespace aspect
     LinearAlgebra::CompressedBlockSparsityPattern sp(introspection.index_sets.system_relevant_partitioning);
 
 #else
-
-#if (DEAL_II_MAJOR*100 + DEAL_II_MINOR) > 801
+#  if (DEAL_II_MAJOR*100 + DEAL_II_MINOR) > 801
     TrilinosWrappers::BlockSparsityPattern sp (system_partitioning,
                                                system_partitioning,
                                                introspection.index_sets.system_relevant_partitioning,
                                                mpi_communicator);
-#else
+#  else
     TrilinosWrappers::BlockSparsityPattern sp (system_partitioning,
                                                mpi_communicator);
+#  endif
 #endif
 
     DoFTools::make_sparsity_pattern (dof_handler,



More information about the CIG-COMMITS mailing list