From: David Wells Date: Sun, 2 Sep 2018 02:34:27 +0000 (-0400) Subject: Add semicolons after Asserts. X-Git-Tag: v9.1.0-rc1~733^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71023e50ffa624a6c4f5c6bc7002902e0eba8fd1;p=dealii.git Add semicolons after Asserts. --- diff --git a/source/distributed/shared_tria.cc b/source/distributed/shared_tria.cc index 76710b5294..eab717bdd8 100644 --- a/source/distributed/shared_tria.cc +++ b/source/distributed/shared_tria.cc @@ -53,19 +53,18 @@ namespace parallel partition_custom_signal) & settings; (void)partition_settings; - Assert( - partition_settings == partition_auto || - partition_settings == partition_metis || - partition_settings == partition_zoltan || - partition_settings == partition_zorder || - partition_settings == partition_custom_signal, - ExcMessage( - "Settings must contain exactly one type of the active cell partitioning scheme.")) + Assert(partition_settings == partition_auto || + partition_settings == partition_metis || + partition_settings == partition_zoltan || + partition_settings == partition_zorder || + partition_settings == partition_custom_signal, + ExcMessage("Settings must contain exactly one type of the active " + "cell partitioning scheme.")); - if (settings & construct_multigrid_hierarchy) Assert( - allow_artificial_cells, - ExcMessage( - "construct_multigrid_hierarchy requires allow_artificial_cells to be set to true.")) + if (settings & construct_multigrid_hierarchy) + Assert(allow_artificial_cells, + ExcMessage("construct_multigrid_hierarchy requires " + "allow_artificial_cells to be set to true.")); } @@ -84,12 +83,12 @@ namespace parallel ExcMessage( "A parallel::shared::Triangulation needs to be refined in the same" "way on all processors, but the participating processors don't " - "agree on the number of active cells.")) + "agree on the number of active cells.")); # endif - auto partition_settings = (partition_zoltan | partition_metis | - partition_zorder | partition_custom_signal) & - settings; + auto partition_settings = (partition_zoltan | partition_metis | + partition_zorder | partition_custom_signal) & + settings; if (partition_settings == partition_auto) # ifdef DEAL_II_TRILINOS_WITH_ZOLTAN partition_settings = partition_zoltan; @@ -286,7 +285,7 @@ namespace parallel const unsigned int total_cells = Utilities::MPI::sum(n_my_cells, this->get_communicator()); Assert(total_cells == this->n_active_cells(), - ExcMessage("Not all cells are assigned to a processor.")) + ExcMessage("Not all cells are assigned to a processor.")); } // If running with multigrid, assert that each level @@ -304,7 +303,7 @@ namespace parallel const unsigned int total_cells = Utilities::MPI::sum(n_my_cells, this->get_communicator()); Assert(total_cells == this->n_cells(), - ExcMessage("Not all cells are assigned to a processor.")) + ExcMessage("Not all cells are assigned to a processor.")); } # endif }