From 47c66f1f856a40861e26cb9739f80340fb896f6d Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 16 May 2022 21:21:36 -0500 Subject: [PATCH] base/tensor.h: Fix a typo --- include/deal.II/base/tensor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index 2dfae4d67c..fe43467458 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -505,7 +505,7 @@ public: static_assert(rank_ >= 1, "Tensors must have a rank greater than or equal to one."); static_assert(dim >= 0, - "Tensors must have a dimension greater than or equal to one."); + "Tensors must have a dimension greater than or equal to zero."); /** * Provide a way to get the dimension of an object without explicit * knowledge of it's data type. Implementation is this way instead of -- 2.39.5