]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add missing exception.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Wed, 10 Aug 2005 10:32:50 +0000 (10:32 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Wed, 10 Aug 2005 10:32:50 +0000 (10:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@11269 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out.cc

index f47e8eff313494ca051d001bff663ca26cf5742f..aac29b7b0e398c50a5a49f915d37ac6206bb1148 100644 (file)
@@ -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<std::string> names;

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.