]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix up
authorDaniel Arndt <arndtd@ornl.gov>
Tue, 9 Feb 2021 14:12:07 +0000 (09:12 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Tue, 9 Feb 2021 14:12:07 +0000 (09:12 -0500)
include/deal.II/base/parameter_handler.h

index ec0a32bbdc5c62fb0baf18ed93966974aebf134c..1e2c93f1fc464242186a5d70a494ee2dd4aa36cf 100644 (file)
@@ -2345,7 +2345,7 @@ ParameterHandler::add_parameter(const std::string &          entry,
 
   auto action = [&, pattern_index](const std::string &val) {
     parameter = Patterns::Tools::Convert<ParameterType>::to_value(
-      val, patterns[pattern_index]);
+      val, *patterns[pattern_index]);
   };
   add_action(entry, action);
 }

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.