]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix big bug.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Nov 1999 17:05:56 +0000 (17:05 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 29 Nov 1999 17:05:56 +0000 (17:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@1956 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out.cc

index 2df1890c80452c1c4d080471b27d3d8baf5ea186..781dc2323e6a62fed5af83731becff1bc92d9f75 100644 (file)
@@ -200,8 +200,8 @@ void DataOut<dim>::build_patches (const unsigned int n_subdivisions)
                                   // actually create the patches
   vector<DataOutBase::Patch<dim> >::iterator patch = patches.begin();
   unsigned int                               cell_number = 0;
-  for (DoFHandler<dim>::active_cell_iterator cell=dofs->begin_active();
-       cell != dofs->end(); ++cell, ++patch, ++cell_number)
+  for (DoFHandler<dim>::active_cell_iterator cell=first_cell();
+       cell != dofs->end(); cell=next_cell(cell), ++patch, ++cell_number)
     {
       Assert (patch != patches.end(), ExcInternalError());
       

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.