]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Assert that we did assign a value to a pointer. 1708/head
authorDavid Wells <wellsd2@rpi.edu>
Fri, 2 Oct 2015 20:47:59 +0000 (16:47 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 2 Oct 2015 20:47:59 +0000 (16:47 -0400)
source/fe/fe_q_bubbles.cc

index 1c00f08d997fd34a409839f20971bba1dbe4932c..05b0cdf1300a7546260766ca7cc4bb7a8980acef 100644 (file)
@@ -80,6 +80,7 @@ namespace FE_Q_Bubbles_Helper
           AssertThrow(false, ExcInternalError());
         }
 
+      Assert(q_fine.get() != NULL, ExcInternalError());
       const unsigned int nq = q_fine->size();
 
       // loop over all possible refinement cases

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.