]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
We can get into write_eps from an input file, so could hit the
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 May 2005 18:25:28 +0000 (18:25 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 25 May 2005 18:25:28 +0000 (18:25 +0000)
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

deal.II/base/source/data_out_base.cc

index d7666f4e39065282e3b200e379c8f82b100280be..1d23b06579e7efec3bb35383499eec05b3b900fb 100644 (file)
@@ -2126,7 +2126,7 @@ void DataOutBase::write_eps (const std::vector<Patch<dim,spacedim> > &patches,
   Assert (patches.size() > 0, ExcNoPatches());
 
                                   // Do not allow volume rendering
-  Assert (dim<=2, ExcNotImplemented());
+  AssertThrow (dim<=2, ExcNotImplemented());
   
   switch (dim) 
     {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.