From 131efaf78977009d55175640f46754f09512311d Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Thu, 19 Nov 2020 19:37:56 -0700 Subject: [PATCH] Avoid using deprecated FiniteElement::operator[] function in tests. --- tests/numerics/error_estimator_02.cc | 2 +- tests/numerics/error_estimator_02_complex.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/numerics/error_estimator_02.cc b/tests/numerics/error_estimator_02.cc index 43747c118a..0394b4217f 100644 --- a/tests/numerics/error_estimator_02.cc +++ b/tests/numerics/error_estimator_02.cc @@ -240,7 +240,7 @@ output(const std::string name, cell = dof_handler.begin_active(), endc = dof_handler.end(); for (unsigned int index = 0; cell != endc; ++cell, ++index) - fe_degrees(index) = dof_handler.get_fe()[cell->active_fe_index()].degree; + fe_degrees(index) = dof_handler.get_fe(cell->active_fe_index()).degree; } dealii::DataOut> data_out; diff --git a/tests/numerics/error_estimator_02_complex.cc b/tests/numerics/error_estimator_02_complex.cc index 0d2c05fee0..efa822912b 100644 --- a/tests/numerics/error_estimator_02_complex.cc +++ b/tests/numerics/error_estimator_02_complex.cc @@ -185,7 +185,7 @@ output(const std::string name, cell = dof_handler.begin_active(), endc = dof_handler.end(); for (unsigned int index = 0; cell != endc; ++cell, ++index) - fe_degrees(index) = dof_handler.get_fe()[cell->active_fe_index()].degree; + fe_degrees(index) = dof_handler.get_fe(cell->active_fe_index()).degree; } dealii::DataOut> data_out; -- 2.39.5