From: Matthias Maier Date: Mon, 7 Sep 2015 19:13:59 +0000 (-0500) Subject: Bugfix: Use generic initializer in Tensor::norm() X-Git-Tag: v8.4.0-rc2~466^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1517%2Fhead;p=dealii.git Bugfix: Use generic initializer in Tensor::norm() --- diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index 84a2855aa3..cec13691a6 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -1070,7 +1070,7 @@ inline typename Tensor::real_type Tensor::norm_square () const { - real_type s = 0; + real_type s = real_type(); for (unsigned int i=0; i