From: Ralf Hartmann Date: Wed, 10 Aug 2005 10:32:50 +0000 (+0000) Subject: Add missing exception. X-Git-Tag: v8.0.0~13317 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f65709fa4d833a5c23f3e90ca65843aaf0ef3fa4;p=dealii.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;