From: Wolfgang Bangerth Date: Wed, 25 May 2005 18:25:28 +0000 (+0000) Subject: We can get into write_eps from an input file, so could hit the X-Git-Tag: v8.0.0~13806 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ffa0942bf78238be381f77b5f67819f594d0cab;p=dealii.git We can get into write_eps from an input file, so could hit the assertion that this isn't implemented for 3d based on dynamic decisions. Therefore convert Assert into AssertThrow. git-svn-id: https://svn.dealii.org/trunk@10750 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/data_out_base.cc b/deal.II/base/source/data_out_base.cc index d7666f4e39..1d23b06579 100644 --- a/deal.II/base/source/data_out_base.cc +++ b/deal.II/base/source/data_out_base.cc @@ -2126,7 +2126,7 @@ void DataOutBase::write_eps (const std::vector > &patches, Assert (patches.size() > 0, ExcNoPatches()); // Do not allow volume rendering - Assert (dim<=2, ExcNotImplemented()); + AssertThrow (dim<=2, ExcNotImplemented()); switch (dim) {