From ea19ae0cd9b0ea906442601e04d2b0dd8dd60d86 Mon Sep 17 00:00:00 2001 From: deal Date: Thu, 3 Jun 2004 18:35:05 +0000 Subject: [PATCH] Work around a bug in present gcc mainline. git-svn-id: https://svn.dealii.org/trunk@9375 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_refinement.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/deal.II/deal.II/source/grid/grid_refinement.cc b/deal.II/deal.II/source/grid/grid_refinement.cc index ea6c0021f3..e3a0b37252 100644 --- a/deal.II/deal.II/source/grid/grid_refinement.cc +++ b/deal.II/deal.II/source/grid/grid_refinement.cc @@ -141,11 +141,13 @@ void GridRefinement::refine (Triangulation &tria, // smallest value in criteria // greater 0 if (new_threshold==0) - for (unsigned int index=0; index0 - && (criteria(index)0 + && (criteria(index)= new_threshold) -- 2.39.5