]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix test 9096/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 9 Jan 2020 19:50:45 +0000 (14:50 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 16 Jan 2020 14:08:34 +0000 (07:08 -0700)
tests/data_out/data_out_08.cc

index a7e1d89a6e3d81407ee2a1f574a1e2c9c551e37c..597cbeab3dc3b3c12ef6d2d0e764e4f99cc1374a 100644 (file)
@@ -70,8 +70,7 @@ public:
   virtual typename DataOut<dim>::cell_iterator
   first_cell()
   {
-    typename DataOut<dim>::active_cell_iterator cell =
-      this->dofs->begin_active();
+    auto cell = this->dofs->begin_active();
     while ((cell != this->dofs->end()) &&
            (cell->subdomain_id() != subdomain_id))
       ++cell;
@@ -86,8 +85,9 @@ public:
       {
         const IteratorFilters::SubdomainEqualTo predicate(subdomain_id);
 
-        return ++(FilteredIterator<typename DataOut<dim>::active_cell_iterator>(
-          predicate, old_cell));
+        return ++(
+          FilteredIterator<typename DataOut<dim>::cell_iterator>(predicate,
+                                                                 old_cell));
       }
     else
       return old_cell;

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.