]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove an unnecessary cast. 4635/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Wed, 19 Jul 2017 18:06:01 +0000 (12:06 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Wed, 19 Jul 2017 20:46:15 +0000 (14:46 -0600)
tests/distributed_grids/solution_transfer_02.cc
tests/distributed_grids/solution_transfer_03.cc

index 3c84946e9b23a0e8a83106104f6ca73e97433b23..b0270a5b440395b81ba3d9fb432d1c0efb45142f 100644 (file)
@@ -84,7 +84,7 @@ void test(std::ostream & /*out*/)
 
   Vector<double> solution(dofh.n_dofs());
   VectorTools::interpolate (mapping,
-                            * static_cast<dealii::DoFHandler<dim>* >(&dofh),
+                            dofh,
                             func,
                             solution);
 
index 2b3c41149b6095ba4b01cfc5e0a35c5590a129d5..7198897f23af503e2a24945b5526ef124bb54a6a 100644 (file)
@@ -104,7 +104,7 @@ void test(std::ostream & /*out*/)
 
       Vector<double> solution(dofh.n_dofs());
       VectorTools::interpolate (mapping,
-                                * static_cast<dealii::DoFHandler<dim>* >(&dofh),
+                                dofh,
                                 func,
                                 solution);
 

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.