From a4d6052ceb475f0cd80c5766dd5d452f08b73002 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 10 Apr 2023 14:21:00 -0600 Subject: [PATCH] Minor updates to the ndarray documentation. --- include/deal.II/base/ndarray.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/deal.II/base/ndarray.h b/include/deal.II/base/ndarray.h index 5d0250c6aa..cd5dbd690b 100644 --- a/include/deal.II/base/ndarray.h +++ b/include/deal.II/base/ndarray.h @@ -71,7 +71,7 @@ namespace internal /** * A (variadic template) type alias for conveniently defining multidimensional - * std::arrays + * std::arrays. * * The problem we try to address with the type alias is the following. * Suppose you want to create a multdimensional array of doubles of, for @@ -80,9 +80,9 @@ namespace internal * @code * double my_array[2][3][4] = { ... }; * @endcode - * Nowadays, there are a number of good reasons why using C-style arrays is - * usually discouraged (ranging from incompatibilities with STL functions - * requiring awkward wrappers, surprises when comparing for equality, etc.) + * There are a number of good reasons why using C-style arrays is + * generally discouraged (ranging from incompatibilities with STL functions + * requiring awkward wrappers, surprises when comparing for equality, etc.). * If you want to do the same, however, using the more modern (and * encouraged) `std::array` class, then you would have to declare * @code @@ -97,7 +97,7 @@ namespace internal * dealii::ndarray my_array = { ... }; * @endcode * - * @note dealii::ndarray is merely syntactic sugar in form of a + * @note dealii::ndarray is merely syntactic sugar in the form of a * type * alias * (`using` declaration). It is not a deal.II specific class, but merely a -- 2.39.5