]> https://gitweb.dealii.org/ - dealii.git/commitdiff
added missing spacedim template 4522/head
authoralberto sartori <alberto.sartori86@gmail.com>
Sat, 17 Jun 2017 21:27:14 +0000 (23:27 +0200)
committeralberto sartori <alberto.sartori86@gmail.com>
Sat, 17 Jun 2017 21:27:14 +0000 (23:27 +0200)
source/distributed/solution_transfer.cc

index 4d0d413d0e3a2dc97fa9007a1dd154f40f02a958..285f4217c599c20b580c732b9ce9409bb195b6f5 100644 (file)
@@ -49,8 +49,8 @@ namespace parallel
       dof_handler(&dof, typeid(*this).name()),
       offset (numbers::invalid_unsigned_int)
     {
-      Assert (dynamic_cast<const parallel::distributed::Triangulation<dim>*>
-              (&dof_handler->get_triangulation()) != nullptr,
+      Assert ((dynamic_cast<const parallel::distributed::Triangulation<dim,DoFHandlerType::space_dimension>*>
+               (&dof_handler->get_triangulation()) != nullptr),
               ExcMessage("parallel::distributed::SolutionTransfer requires a parallel::distributed::Triangulation object."));
     }
 

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.