From: Timo Heister Date: Thu, 9 Jul 2015 12:51:53 +0000 (-0400) Subject: fix tests X-Git-Tag: v8.3.0-rc1~48^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c9be58450246387ccdc9ddcf903e0533b4d6fe6;p=dealii.git fix tests --- diff --git a/tests/base/functions_12.cc b/tests/base/functions_12.cc index 92b33a989d..75ac590d7b 100644 --- a/tests/base/functions_12.cc +++ b/tests/base/functions_12.cc @@ -32,7 +32,7 @@ void check() std::vector coeffs(n_mon); for (unsigned int i = 0; i < n_mon; ++i) - coeffs[i] = std::pow(-1.0,i)*(i+1); + coeffs[i] = std::pow(-1.0,static_cast(i))*(i+1); Functions::Polynomial poly(exponents, coeffs); diff --git a/tests/base/number_traits_complex.cc b/tests/base/number_traits_complex.cc index 8119975055..ce412ea175 100644 --- a/tests/base/number_traits_complex.cc +++ b/tests/base/number_traits_complex.cc @@ -24,7 +24,7 @@ #include // replace type names found on MAC OS -std::string cleanup_type(std::string &in) +std::string cleanup_type(const std::string &in) { std::string ret = in; ret = Utilities::replace_in_string(ret, "NSt3__17complexIfEE", "St7complexIfE");