From: deal Date: Thu, 3 Jun 2004 18:35:05 +0000 (+0000) Subject: Work around a bug in present gcc mainline. X-Git-Tag: v8.0.0~15084 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea19ae0cd9b0ea906442601e04d2b0dd8dd60d86;p=dealii.git Work around a bug in present gcc mainline. git-svn-id: https://svn.dealii.org/trunk@9375 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)