]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use AssertDimension
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 11 May 2019 16:31:42 +0000 (12:31 -0400)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 11 May 2019 16:54:05 +0000 (18:54 +0200)
examples/step-43/step-43.cc

index 1e5478f8691b9d80cb9ba03a3c120b17363532b8..c6546c8e18c12d2158cd73847d30cd0cdba83410 100644 (file)
@@ -249,8 +249,7 @@ namespace Step43
     void KInverse<dim>::value_list(const std::vector<Point<dim>> &points,
                                    std::vector<Tensor<2, dim>> &  values) const
     {
-      Assert(points.size() == values.size(),
-             ExcDimensionMismatch(points.size(), values.size()));
+      AssertDimension(points.size(), values.size());
 
       for (unsigned int p = 0; p < points.size(); ++p)
         {

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.