]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Step 77: add typename 12163/head
authorPeter Munch <peterrmuench@gmail.com>
Mon, 10 May 2021 09:29:01 +0000 (11:29 +0200)
committerPeter Munch <peterrmuench@gmail.com>
Mon, 10 May 2021 09:29:01 +0000 (11:29 +0200)
examples/step-77/step-77.cc

index 61212bfebf143bd99f2cba6ff2b08d2208982c6a..fb88badff696d86956b1cae562ec83e0a8efeca3 100644 (file)
@@ -554,7 +554,8 @@ namespace Step77
         // reach; but you might want to look into what other members the
         // SUNDIALS::KINSOL::AdditionalData class has and play with them).
         {
-          SUNDIALS::KINSOL<Vector<double>>::AdditionalData additional_data;
+          typename SUNDIALS::KINSOL<Vector<double>>::AdditionalData
+            additional_data;
           additional_data.function_tolerance = target_tolerance;
 
           SUNDIALS::KINSOL<Vector<double>> nonlinear_solver(additional_data);

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.