]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update source/base/tensor_product_polynomials.cc
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Fri, 25 Aug 2023 18:08:42 +0000 (20:08 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Fri, 25 Aug 2023 18:19:14 +0000 (20:19 +0200)
Co-authored-by: Daniel Arndt <arndtd@ornl.gov>
source/base/tensor_product_polynomials.cc

index 7c4313c65a7cf3ace6e7dc7538cc25e580156b1c..2a25a2fca1fcd22051aacd8c32dce6527681b19b 100644 (file)
@@ -329,13 +329,13 @@ namespace internal
       std::vector<Tensor<3, dim>> &    third_derivatives,
       std::vector<Tensor<4, dim>> &    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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.