From: Guido Kanschat Date: Fri, 3 Jul 2015 07:27:24 +0000 (+0200) Subject: fix more powers X-Git-Tag: v8.3.0-rc1~66^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568b64b56ba1f9f54cf26d26efafa83ac12748ae;p=dealii.git fix more powers compiling on Mac with clang 5.0.0 (3.3) again --- diff --git a/include/deal.II/numerics/vector_tools.templates.h b/include/deal.II/numerics/vector_tools.templates.h index 56c7a5025f..3995bea746 100644 --- a/include/deal.II/numerics/vector_tools.templates.h +++ b/include/deal.II/numerics/vector_tools.templates.h @@ -6246,8 +6246,9 @@ namespace VectorTools { double sum = 0; for (unsigned int k=0; k(data.psi_values[q](k)*data.psi_values[q](k)), + exponent/2.) * data.weight_vectors[q](k); diff += sum * fe_values.JxW(q); } @@ -6298,8 +6299,9 @@ namespace VectorTools { double sum = 0; for (unsigned int k=0; k(data.psi_grads[q][k]*data.psi_grads[q][k]), + exponent/2.) * data.weight_vectors[q](k); diff += sum * fe_values.JxW(q); } diff = std::pow(diff, 1./exponent);