From: heien Date: Fri, 18 Oct 2013 18:55:50 +0000 (+0000) Subject: Bug fix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea494eceb9cb7bfd10a8781f0548f10224f2ec77;p=dealii-svn.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; } } }