]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a thinko that in its current state makes no sense at all. 612/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 27 Feb 2015 13:15:15 +0000 (07:15 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 27 Feb 2015 13:15:15 +0000 (07:15 -0600)
include/deal.II/lac/vector.templates.h

index 942f1f9cbd0e6b4d6f2644bccaf1c35cb05a0094..c753b49d238d8b830c9f03c0dd531d6b106437f3 100644 (file)
@@ -1315,7 +1315,7 @@ Vector<Number>::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);
     }
 }

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.