From: Martin Kronbichler Date: Mon, 3 Aug 2020 09:10:01 +0000 (+0200) Subject: Update an outdated code comment X-Git-Tag: v9.3.0-rc1~1219^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee78a1715f75a3559bfa9219180bb2d209a1a9fd;p=dealii.git Update an outdated code comment --- diff --git a/include/deal.II/matrix_free/operators.h b/include/deal.II/matrix_free/operators.h index 77e2cf2db1..16c85505e5 100644 --- a/include/deal.II/matrix_free/operators.h +++ b/include/deal.II/matrix_free/operators.h @@ -991,8 +991,7 @@ namespace MatrixFreeOperators ExcMessage( "Expected diagonal to be a multiple of scalar dof per cells")); - // temporarily reduce size of inverse_jxw to dofs_per_cell to get JxW values - // from fe_eval (will not reallocate any memory) + // compute values for the first component for (unsigned int q = 0; q < dofs_per_component_on_cell; ++q) inverse_jxw[q] = 1. / fe_eval.JxW(q); // copy values to rest of vector