From d69c6905724ddd41ab3b0d373db020a20dbd6e14 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 20 Oct 2020 13:10:59 -0600 Subject: [PATCH] Avoid unnecessary template argument. --- examples/step-5/step-5.cc | 4 ++-- examples/step-6/step-6.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/step-5/step-5.cc b/examples/step-5/step-5.cc index 5b9d6710d8..e2eb706195 100644 --- a/examples/step-5/step-5.cc +++ b/examples/step-5/step-5.cc @@ -179,7 +179,7 @@ void Step5::assemble_system() // Next is the typical loop over all cells to compute local contributions // and then to transfer them into the global matrix and vector. The only // change in this part, compared to step-4, is that we will use the - // coefficient function defined above to compute the + // coefficient() function defined above to compute the // coefficient value at each quadrature point. for (const auto &cell : dof_handler.active_cell_iterators()) { @@ -191,7 +191,7 @@ void Step5::assemble_system() for (const unsigned int q_index : fe_values.quadrature_point_indices()) { const double current_coefficient = - coefficient(fe_values.quadrature_point(q_index)); + coefficient(fe_values.quadrature_point(q_index)); for (const unsigned int i : fe_values.dof_indices()) { for (const unsigned int j : fe_values.dof_indices()) diff --git a/examples/step-6/step-6.cc b/examples/step-6/step-6.cc index bc8b93a715..858260b104 100644 --- a/examples/step-6/step-6.cc +++ b/examples/step-6/step-6.cc @@ -281,7 +281,7 @@ void Step6::assemble_system() for (const unsigned int q_index : fe_values.quadrature_point_indices()) { const double current_coefficient = - coefficient(fe_values.quadrature_point(q_index)); + coefficient(fe_values.quadrature_point(q_index)); for (const unsigned int i : fe_values.dof_indices()) { for (const unsigned int j : fe_values.dof_indices()) -- 2.39.5