]> https://gitweb.dealii.org/ - dealii.git/commitdiff
base/tensor.h: Fix a typo 13746/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 17 May 2022 02:21:36 +0000 (21:21 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 17 May 2022 02:21:36 +0000 (21:21 -0500)
include/deal.II/base/tensor.h

index 2dfae4d67c1fbc4548947c018cfcdf17ff369e15..fe43467458dd1ec1e141b5e9a19e483d70790c51 100644 (file)
@@ -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

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.