From: bangerth Date: Wed, 13 Aug 2008 00:34:02 +0000 (+0000) Subject: Move an assertion to the place where it was probably supposed to be. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8b0310a7de9e9fce6e5743871c98be7dc404d0;p=dealii-svn.git Move an assertion to the place where it was probably supposed to be. git-svn-id: https://svn.dealii.org/trunk@16528 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 1a75493c6c..21b72dbcdf 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -225,10 +225,10 @@ TrilinosAmgPreconditioner::TrilinosAmgPreconditioner( (*preconditioner_matrix) (row, row_indices[col_counter]); ++col_counter; } - Assert (col_counter == row_lengths[row], - ExcMessage("Filtering out zeros could not " - "be successfully finished!")); } + Assert (col_counter == row_lengths[row], + ExcMessage("Filtering out zeros could not " + "be successfully finished!")); Matrix->InsertGlobalValues(row, row_lengths[row], &values[0], &row_indices[0]); @@ -2138,7 +2138,7 @@ void BoussinesqFlowProblem::run () GridGenerator::hyper_cube (triangulation); - triangulation.refine_global (6); + triangulation.refine_global (6); break; }