From 225a6004ccc7dcbffc256fc63f0c24a975057c2f Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 30 Mar 2023 17:20:54 -0400 Subject: [PATCH] Fix a unused variable compiler warning in tria.cc --- source/distributed/tria.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/distributed/tria.cc b/source/distributed/tria.cc index fec6ed0f1b..437362557d 100644 --- a/source/distributed/tria.cc +++ b/source/distributed/tria.cc @@ -3083,6 +3083,7 @@ namespace parallel ExcInternalError()); } +# ifdef DEBUG // count the number of owned, active cells and compare with p4est. unsigned int n_owned = 0; for (const auto &cell : this->active_cell_iterators()) @@ -3094,6 +3095,7 @@ namespace parallel Assert(static_cast( parallel_forest->local_num_quadrants) == n_owned, ExcInternalError()); +# endif } this->smooth_grid = save_smooth; -- 2.39.5