]> https://gitweb.dealii.org/ - dealii.git/commitdiff
correct vector dimension check in step-33. 1772/head
authorLei Qiao <qiaol618@gmail.com>
Wed, 21 Oct 2015 22:04:17 +0000 (17:04 -0500)
committerLei Qiao <qiaol618@gmail.com>
Wed, 21 Oct 2015 22:13:54 +0000 (17:13 -0500)
examples/step-33/step-33.cc

index a5d94d5130641eefde2df2c50a40aceba0357e42..0290cc939141fbd91da3980aadfa34d22417878f 100644 (file)
@@ -608,10 +608,7 @@ namespace Step33
 
     if (do_schlieren_plot == true)
       Assert (duh.size() == n_quadrature_points,
-              ExcInternalError())
-      else
-        Assert (duh.size() == 0,
-                ExcInternalError());
+              ExcInternalError());
 
     Assert (computed_quantities.size() == n_quadrature_points,
             ExcInternalError());

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.