From: hartmann Date: Mon, 29 May 2000 16:04:19 +0000 (+0000) Subject: fix sneaky bug in MT X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8665375850520cfede1731925c69cef4b7a1273a;p=dealii-svn.git fix sneaky bug in MT git-svn-id: https://svn.dealii.org/branches/Branch-3-0@2973 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index 388a062453..067d7e510b 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -198,9 +198,13 @@ void DataOut::build_some_patches (Data data) DoFHandler::cell_iterator cell=first_cell(); // get first cell in this thread - for (unsigned int i=0;iend()); ++i) + { + ++patch; + ++cell_number; + cell=next_cell(cell); + } + // now loop over all cells and // actually create the patches for (;cell != dofs->end();) @@ -247,9 +251,13 @@ void DataOut::build_some_patches (Data data) }; }; // next cell (patch) in this thread - for (unsigned int i=0;((iend())); - ++i,++patch,++cell_number,cell=next_cell(cell)); - + for (unsigned int i=0; + (iend()); ++i) + { + ++patch; + ++cell_number; + cell=next_cell(cell); + } }; }