From a219d06043ed05703eb2199f7cb351b535477bd1 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 5 Apr 2018 11:12:42 -0400 Subject: [PATCH] Remove some unnecessary ';'s. --- include/deal.II/numerics/time_dependent.h | 4 ++-- source/lac/constraint_matrix.cc | 24 +++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/deal.II/numerics/time_dependent.h b/include/deal.II/numerics/time_dependent.h index 621ec62f9d..d215ed31cd 100644 --- a/include/deal.II/numerics/time_dependent.h +++ b/include/deal.II/numerics/time_dependent.h @@ -1569,8 +1569,8 @@ void TimeDependent::do_loop (InitFunctionObject init_function, if (n_timesteps-(step-look_back) <= n_timesteps) timesteps[n_timesteps-(step-look_back)-1]->sleep(look_back); break; - }; - }; + } + } // make the last few timesteps sleep for (int step=n_timesteps; diff --git a/source/lac/constraint_matrix.cc b/source/lac/constraint_matrix.cc index 5939293efa..d429071745 100644 --- a/source/lac/constraint_matrix.cc +++ b/source/lac/constraint_matrix.cc @@ -838,8 +838,8 @@ void ConstraintMatrix::condense (DynamicSparsityPattern &sparsity) const if ((new_col < column) && (old_rowlength != new_rowlength)) ++j; old_rowlength = new_rowlength; - }; - }; + } + } } else // row must be distributed @@ -864,8 +864,8 @@ void ConstraintMatrix::condense (DynamicSparsityPattern &sparsity) const sparsity.add (lines[distribute[row]].entries[p].first, lines[distribute[sparsity.column_number(row,j)]] .entries[q].first); - }; - }; + } + } } @@ -1049,9 +1049,9 @@ void ConstraintMatrix::condense (BlockDynamicSparsityPattern &sparsity) const .entries.size(); ++q) sparsity.add (row, lines[distribute[global_col]].entries[q].first); - }; - }; - }; + } + } + } } else { @@ -1086,11 +1086,11 @@ void ConstraintMatrix::condense (BlockDynamicSparsityPattern &sparsity) const for (size_type q=0; q!=lines[distribute[global_col]].entries.size(); ++q) sparsity.add (lines[distribute[row]].entries[p].first, lines[distribute[global_col]].entries[q].first); - }; - }; - }; - }; - }; + } + } + } + } + } } -- 2.39.5