From: wolf 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e07c2267071fc2e8b17e079c905d6340b342f18f;p=dealii-svn.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) {