From 24bc357ccd2619d0f776d8e5d20c40ed5487f9f8 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 25 Sep 2018 08:38:43 +0200 Subject: [PATCH] Make FunctionParser::expressions available without muparser support --- include/deal.II/base/function_parser.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/base/function_parser.h b/include/deal.II/base/function_parser.h index b1d4c1c574..fc03c246d2 100644 --- a/include/deal.II/base/function_parser.h +++ b/include/deal.II/base/function_parser.h @@ -402,12 +402,6 @@ private: */ std::vector var_names; - /** - * An array of function expressions (one per component), required to - * initialize fp in each thread. - */ - std::vector expressions; - /** * Initialize fp and vars on the current thread. This function may only be * called once per thread. A thread can test whether the function has @@ -418,6 +412,12 @@ private: init_muparser() const; #endif + /** + * An array of function expressions (one per component), required to + * initialize fp in each thread. + */ + std::vector expressions; + /** * State of usability. This variable is checked every time the function is * called for evaluation. It's set to true in the initialize() methods. -- 2.39.5