From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf783b29368606a5efe8594f4566c6b51e8f381d;p=dealii-svn.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