From: Timo Heister Date: Wed, 16 Oct 2013 19:37:26 +0000 (+0000) Subject: fix how we pick the first cell to output in DataOut when it is filtered (see tests... X-Git-Tag: v8.1.0~570^2~37 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24bf9fa44170335cdeca1a7842963f1d864d5ef2;p=dealii.git fix how we pick the first cell to output in DataOut when it is filtered (see tests/bits/data_out_08.cc) git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31269 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/numerics/data_out.cc b/deal.II/source/numerics/data_out.cc index 539ac2d973..be256797bb 100644 --- a/deal.II/source/numerics/data_out.cc +++ b/deal.II/source/numerics/data_out.cc @@ -465,7 +465,7 @@ typename DataOut::cell_iterator DataOut::first_locally_owned_cell () { typename DataOut::cell_iterator - cell = this->triangulation->begin_active (); + cell = first_cell(); // skip cells if the current one has no children (is active) and is a ghost // or artificial cell