From: heister Date: Tue, 1 May 2012 16:32:55 +0000 (+0000) Subject: step-37: fix throwing assertion X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2f7be5dcd8df2ae370e13a335435ed2801a9216;p=dealii-svn.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; }