From: Marc Fehling Date: Fri, 20 Nov 2020 02:37:56 +0000 (-0700) Subject: Avoid using deprecated FiniteElement::operator[] function in tests. X-Git-Tag: v9.3.0-rc1~815^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=131efaf78977009d55175640f46754f09512311d;p=dealii.git Avoid using deprecated FiniteElement::operator[] function in tests. --- 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;