From: Lei Qiao Date: Wed, 21 Oct 2015 22:04:17 +0000 (-0500) Subject: correct vector dimension check in step-33. X-Git-Tag: v8.4.0-rc2~299^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef3e36bd9d7df8c26974147730cb3a78da8ccfe6;p=dealii.git correct vector dimension check in step-33. --- diff --git a/examples/step-33/step-33.cc b/examples/step-33/step-33.cc index a5d94d5130..0290cc9391 100644 --- a/examples/step-33/step-33.cc +++ b/examples/step-33/step-33.cc @@ -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());