From f0561242781f9053b46c222f4c909affa6114713 Mon Sep 17 00:00:00 2001 From: hartmann Date: Wed, 10 Aug 2005 10:32:50 +0000 Subject: [PATCH] Add missing exception. git-svn-id: https://svn.dealii.org/trunk@11269 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/data_out.cc | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5