]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Insert missing assertion.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 13 Sep 2001 12:29:04 +0000 (12:29 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Thu, 13 Sep 2001 12:29:04 +0000 (12:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@4996 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/dofs/dof_handler.h

index 42b442adcba4dc1273ed7df88824485e3d434a94..27023c4646583df02b0f28566cf1a91321dec831 100644 (file)
@@ -1300,6 +1300,7 @@ template <int dim>
 inline
 const FiniteElement<dim> & DoFHandler<dim>::get_fe () const
 {
+  Assert(selected_fe!=0, ExcNoFESelected());
   return *selected_fe;
 };
 

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.