From 083912ccbad9c89836bc39d6815c5f760e316970 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Fri, 25 Aug 2023 20:20:21 +0200 Subject: [PATCH] Reindent --- source/base/tensor_product_polynomials.cc | 24 +++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/base/tensor_product_polynomials.cc b/source/base/tensor_product_polynomials.cc index 2a25a2fca1..872cf44f53 100644 --- a/source/base/tensor_product_polynomials.cc +++ b/source/base/tensor_product_polynomials.cc @@ -318,25 +318,25 @@ namespace internal evaluate_tensor_product( const unsigned int n_derivatives, const boost::container::small_vector, 10> - & values_1d, + &values_1d, const unsigned int size_x, const boost::container::small_vector, 64> - & indices, + &indices, const std::vector &index_map, - std::vector & values, - std::vector> & grads, - std::vector> & grad_grads, - std::vector> & third_derivatives, - std::vector> & fourth_derivatives) + std::vector &values, + std::vector> &grads, + std::vector> &grad_grads, + std::vector> &third_derivatives, + std::vector> &fourth_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); + (grad_grads.size() == indices.size() * size_x); const bool update_3rd_derivatives = - (third_derivatives.size() == indices.size() * size_x); + (third_derivatives.size() == indices.size() * size_x); const bool update_4th_derivatives = - (fourth_derivatives.size() == indices.size() * size_x); + (fourth_derivatives.size() == indices.size() * size_x); // For values, 1st and 2nd derivatives use a more lengthy code that // minimizes the number of arithmetic operations and memory accesses @@ -492,8 +492,8 @@ namespace internal template void TensorProductPolynomials::evaluate( - const Point & p, - std::vector & values, + const Point &p, + std::vector &values, std::vector> &grads, std::vector> &grad_grads, std::vector> &third_derivatives, -- 2.39.5