]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning in MatrixFree 3487/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 7 Nov 2016 11:11:06 +0000 (12:11 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 7 Nov 2016 11:11:06 +0000 (12:11 +0100)
include/deal.II/matrix_free/matrix_free.h

index cbcdc6fbb44c93bfaad1295534fc9077a77cbd93..06bd6dccd0df9bf74a2dda24fa10458eb99831d2 100644 (file)
@@ -850,7 +850,13 @@ private:
    */
   struct DoFHandlers
   {
-    DoFHandlers () : n_dof_handlers (0), level (numbers::invalid_unsigned_int) {};
+    DoFHandlers ()
+      :
+      active_dof_handler(usual),
+      n_dof_handlers (0),
+      level (numbers::invalid_unsigned_int)
+    {}
+
     std::vector<SmartPointer<const DoFHandler<dim> > >   dof_handler;
     std::vector<SmartPointer<const hp::DoFHandler<dim> > > hp_dof_handler;
     enum ActiveDoFHandler { usual, hp } active_dof_handler;

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.