From: Timo Heister Date: Sat, 25 May 2024 21:29:38 +0000 (-0400) Subject: fix incorrect comment in Tensor::unroll X-Git-Tag: v9.6.0-rc1~219^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1c60d3c7fedb712022722a06426536dc72c522;p=dealii.git fix incorrect comment in Tensor::unroll --- 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(