From: hartmann Date: Thu, 13 Sep 2001 12:29:04 +0000 (+0000) Subject: Insert missing assertion. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5f9ac3bc2b242b586f394340d384628268ad04;p=dealii-svn.git Insert missing assertion. git-svn-id: https://svn.dealii.org/trunk@4996 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/dofs/dof_handler.h b/deal.II/deal.II/include/dofs/dof_handler.h index 42b442adcb..27023c4646 100644 --- a/deal.II/deal.II/include/dofs/dof_handler.h +++ b/deal.II/deal.II/include/dofs/dof_handler.h @@ -1300,6 +1300,7 @@ template inline const FiniteElement & DoFHandler::get_fe () const { + Assert(selected_fe!=0, ExcNoFESelected()); return *selected_fe; };