From 0c86095983f484b89b107aa281183aa2e7e8f217 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 26 Apr 2017 18:24:35 +0200 Subject: [PATCH] Remove dependence on FunctionParser in ARPACK test --- tests/arpack/step-36_ar.cc | 5 +---- tests/arpack/step-36_ar_shift.cc | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/arpack/step-36_ar.cc b/tests/arpack/step-36_ar.cc index 45be84b739..2f0480e6e0 100644 --- a/tests/arpack/step-36_ar.cc +++ b/tests/arpack/step-36_ar.cc @@ -147,10 +147,7 @@ namespace Step36 std::vector local_dof_indices (dofs_per_cell); - FunctionParser potential; - potential.initialize (FunctionParser::default_variable_names (), - "0", - typename FunctionParser::ConstMap()); + ZeroFunction potential; std::vector potential_values (n_q_points); diff --git a/tests/arpack/step-36_ar_shift.cc b/tests/arpack/step-36_ar_shift.cc index 7a235af75f..5d87148ff1 100644 --- a/tests/arpack/step-36_ar_shift.cc +++ b/tests/arpack/step-36_ar_shift.cc @@ -141,10 +141,7 @@ namespace Step36 std::vector local_dof_indices (dofs_per_cell); - FunctionParser potential; - potential.initialize (FunctionParser::default_variable_names (), - "0", - typename FunctionParser::ConstMap()); + ZeroFunction potential; std::vector potential_values (n_q_points); -- 2.39.5