]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Exception in load_refine_flags also in optimized mode.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Jun 2006 10:47:18 +0000 (10:47 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 23 Jun 2006 10:47:18 +0000 (10:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@13298 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index 0d8391753fba9ff7626508f5d425681a239fa513..045c5c5ee476eb0838edf704377b3d9361a73b26 100644 (file)
@@ -1907,7 +1907,7 @@ void Triangulation<dim>::load_refine_flags (std::istream &in)
 template <int dim>
 void Triangulation<dim>::load_refine_flags (const std::vector<bool> &v)
 {
-  Assert (v.size() == n_active_cells(), ExcGridReadError());
+  AssertThrow (v.size() == n_active_cells(), ExcGridReadError());
   
   active_cell_iterator cell = begin_active(),
                       endc = end();

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.