From: Wolfgang Bangerth Date: Fri, 27 Feb 2015 13:15:15 +0000 (-0600) Subject: Fix a thinko that in its current state makes no sense at all. X-Git-Tag: v8.3.0-rc1~410^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F612%2Fhead;p=dealii.git Fix a thinko that in its current state makes no sense at all. --- diff --git a/include/deal.II/lac/vector.templates.h b/include/deal.II/lac/vector.templates.h index 942f1f9cbd..c753b49d23 100644 --- a/include/deal.II/lac/vector.templates.h +++ b/include/deal.II/lac/vector.templates.h @@ -1315,7 +1315,7 @@ Vector::l2_norm () const sum += (abs_x/scale) * (abs_x/scale); } } - Assert(numbers::is_finite(scale)*std::sqrt(sum), ExcNumberNotFinite()); + Assert(numbers::is_finite(scale*std::sqrt(sum)), ExcNumberNotFinite()); return scale * std::sqrt(sum); } }