]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a forgotten assert. 3442/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 3 Nov 2016 20:39:39 +0000 (16:39 -0400)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Thu, 3 Nov 2016 20:39:39 +0000 (16:39 -0400)
source/base/tensor_product_polynomials.cc

index 57299123398ad77539ec13aa28f20ccfa829b525..0c8c9716a549e7b9d26e2e64614e30a798badb0e 100644 (file)
@@ -313,8 +313,7 @@ compute (const Point<dim>            &p,
                       index = polynomial*factor + f;
                       break;
                     default:
-                      ExcNotImplemented();
-                      break;
+                      AssertThrow(false, ExcNotImplemented());
                     }
 
                   const unsigned int i = index_map_inverse[index];

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.