From: Timo Heister Date: Tue, 1 May 2012 16:32:55 +0000 (+0000) Subject: step-37: fix throwing assertion X-Git-Tag: v8.0.0~2637 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7f73267c5dab84b099e613f24e5be2b8130149;p=dealii.git step-37: fix throwing assertion git-svn-id: https://svn.dealii.org/trunk@25475 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-37/step-37.cc b/deal.II/examples/step-37/step-37.cc index dd638c7f18..eb8224b20b 100644 --- a/deal.II/examples/step-37/step-37.cc +++ b/deal.II/examples/step-37/step-37.cc @@ -1056,7 +1056,7 @@ void LaplaceOperator::transform (number* result) const transformation[5] * result[2]; } else - ExcNotImplemented(); + AssertThrow(false, ExcNotImplemented()); } // The final function in this group @@ -1099,7 +1099,7 @@ LaplaceOperator::operator=(const Tensor<2,dim> &tensor) ExcInternalError()); } else - ExcNotImplemented(); + AssertThrow(false, ExcNotImplemented()); return *this; }