]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize a member variable. 3574/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 12 Nov 2016 14:33:19 +0000 (07:33 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 12 Nov 2016 14:33:19 +0000 (07:33 -0700)
source/distributed/solution_transfer.cc

index 4713e5593af55d5eea69a64c45dea93285f4516f..d8f22004d461860b7c9432f47f727cff356f5135 100644 (file)
@@ -46,7 +46,8 @@ namespace parallel
     template<int dim, typename VectorType, typename DoFHandlerType>
     SolutionTransfer<dim, VectorType, DoFHandlerType>::SolutionTransfer (const DoFHandlerType &dof)
       :
-      dof_handler(&dof, typeid(*this).name())
+      dof_handler(&dof, typeid(*this).name()),
+      offset (numbers::invalid_unsigned_int)
     {
       Assert (dynamic_cast<const parallel::distributed::Triangulation<dim>*>
               (&dof_handler->get_triangulation()) != 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.