]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bug fix
authorheien <heien@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Oct 2013 18:55:50 +0000 (18:55 +0000)
committerheien <heien@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Oct 2013 18:55:50 +0000 (18:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@31310 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/data_out_base.cc

index e5518afcb83d345b787794f5604b15b601d83f52..abc00411d50070bbe75a4997508d9dcaf6d802c1 100644 (file)
@@ -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;
         }
     }
 }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.