From: hartmann Date: Wed, 10 Aug 2005 10:32:50 +0000 (+0000) Subject: Add missing exception. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0561242781f9053b46c222f4c909affa6114713;p=dealii-svn.git Add missing exception. git-svn-id: https://svn.dealii.org/trunk@11269 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/data_out.cc b/deal.II/deal.II/source/numerics/data_out.cc index f47e8eff31..aac29b7b0e 100644 --- a/deal.II/deal.II/source/numerics/data_out.cc +++ b/deal.II/deal.II/source/numerics/data_out.cc @@ -237,6 +237,7 @@ add_data_vector (const VECTOR &vec, const std::string &name, const DataVectorType type) { + Assert (dofs != 0, ExcNoDoFHandlerSelected ()); const unsigned int n_components = dofs->get_fe().n_components (); std::vector names;