From: Wolfgang Bangerth Date: Tue, 20 Oct 2020 19:10:59 +0000 (-0600) Subject: Avoid unnecessary template argument. X-Git-Tag: v9.3.0-rc1~994^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d69c6905724ddd41ab3b0d373db020a20dbd6e14;p=dealii.git Avoid unnecessary template argument. --- 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())