From: Martin Kronbichler Date: Fri, 25 Aug 2023 18:08:42 +0000 (+0200) Subject: Update source/base/tensor_product_polynomials.cc X-Git-Tag: relicensing~547^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fcaf051c97093f01a5c0c67e5face347cab5e04;p=dealii.git Update source/base/tensor_product_polynomials.cc Co-authored-by: Daniel Arndt --- diff --git a/source/base/tensor_product_polynomials.cc b/source/base/tensor_product_polynomials.cc index 7c4313c65a..2a25a2fca1 100644 --- a/source/base/tensor_product_polynomials.cc +++ b/source/base/tensor_product_polynomials.cc @@ -329,13 +329,13 @@ namespace internal std::vector> & third_derivatives, std::vector> & fourth_derivatives) { - const bool update_values = (values.size() == indices.size() * size_x), - update_grads = (grads.size() == indices.size() * size_x), - update_grad_grads = - (grad_grads.size() == indices.size() * size_x), - update_3rd_derivatives = - (third_derivatives.size() == indices.size() * size_x), - update_4th_derivatives = + const bool update_values = (values.size() == indices.size() * size_x); + const bool update_grads = (grads.size() == indices.size() * size_x); + const bool update_grad_grads = + (grad_grads.size() == indices.size() * size_x); + const bool update_3rd_derivatives = + (third_derivatives.size() == indices.size() * size_x); + const bool update_4th_derivatives = (fourth_derivatives.size() == indices.size() * size_x); // For values, 1st and 2nd derivatives use a more lengthy code that