From: Eric Heien Date: Fri, 18 Oct 2013 18:55:50 +0000 (+0000) Subject: Bug fix X-Git-Tag: v8.1.0~573 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0cc03822d08f8df670b7eeecb75ea9779f71759;p=dealii.git Bug fix git-svn-id: https://svn.dealii.org/trunk@31310 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/data_out_base.cc b/deal.II/source/base/data_out_base.cc index e5518afcb8..abc00411d5 100644 --- a/deal.II/source/base/data_out_base.cc +++ b/deal.II/source/base/data_out_base.cc @@ -379,7 +379,7 @@ void DataOutBase::DataOutFilter::write_data_set(const std::string &name, const u { r = filtered_points[i]; if (d < dimension) data_sets.back()[r*new_dim+d] = data_vectors(set_num+d, i); - else data_sets.back()[r] = 0; + else data_sets.back()[r*new_dim+d] = 0; } } }