From: Bruno Turcksin Date: Thu, 3 Nov 2016 20:39:39 +0000 (-0400) Subject: Add a forgotten assert. X-Git-Tag: v8.5.0-rc1~487^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8ce035123bc88bcb3ec89ab6a35bfe5cdadc8bf;p=dealii.git Add a forgotten assert. --- diff --git a/source/base/tensor_product_polynomials.cc b/source/base/tensor_product_polynomials.cc index 5729912339..0c8c9716a5 100644 --- a/source/base/tensor_product_polynomials.cc +++ b/source/base/tensor_product_polynomials.cc @@ -313,8 +313,7 @@ compute (const Point &p, index = polynomial*factor + f; break; default: - ExcNotImplemented(); - break; + AssertThrow(false, ExcNotImplemented()); } const unsigned int i = index_map_inverse[index];