From ff1c60d3c7fedb712022722a06426536dc72c522 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Sat, 25 May 2024 17:29:38 -0400 Subject: [PATCH] fix incorrect comment in Tensor::unroll --- include/deal.II/base/tensor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index 18fa4a98b2..852a13b0aa 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -1837,8 +1837,7 @@ Tensor::unroll(const Iterator begin, else { // For rank-1 tensors, we can simply copy the current elements from - // our linear array into the output range, and then return the - // iterator moved forward by 'dim' elements: + // our linear array into the output range: (void)end; Assert(std::distance(begin, end) >= dim, ExcMessage( -- 2.39.5