From: wolf Date: Wed, 30 Apr 2003 22:54:56 +0000 (+0000) Subject: More fixes for cxx. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1acfba212a48bfa6b9f234b70df10c59815dc324;p=dealii-svn.git More fixes for cxx. git-svn-id: https://svn.dealii.org/trunk@7521 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/anisotropic_1.cc b/tests/base/anisotropic_1.cc index 5887304356..24371badf5 100644 --- a/tests/base/anisotropic_1.cc +++ b/tests/base/anisotropic_1.cc @@ -91,8 +91,8 @@ void check_poly(const Point &x, // somewhat to make them // significant despite our // two-post-dot-digits limit - values1[k] *= std::pow(10, dim); - gradients1[k] *= std::pow(10, dim); + values1[k] *= std::pow(10., dim); + gradients1[k] *= std::pow(10., dim); deallog << 'P' << k << "\t= " << values1[k] << "\tgradient\t"; diff --git a/tests/base/polynomial1d.cc b/tests/base/polynomial1d.cc index 492884b379..1f4a362ca4 100644 --- a/tests/base/polynomial1d.cc +++ b/tests/base/polynomial1d.cc @@ -107,7 +107,7 @@ int main () deallog << "Polynomial " << i << ": Values q(" << 2.*x-1. << ") and p(" << x - << ") differ by 10^" << std::log(diff)/log(10) + << ") differ by 10^" << std::log(diff)/std::log(10) << " after shift: " << q[i].value(2.*x-1.) << " != " << p[i].value(x) << std::endl; diff --git a/tests/base/polynomial_test.cc b/tests/base/polynomial_test.cc index dcbfbd6fb1..7ea1e2a70f 100644 --- a/tests/base/polynomial_test.cc +++ b/tests/base/polynomial_test.cc @@ -78,8 +78,8 @@ void check_poly(const Point& x, // somewhat to make them // significant despite our // two-post-dot-digits limit - values[k] *= std::pow(10, dim); - gradients[k] *= std::pow(10, dim); + values[k] *= std::pow(10., dim); + gradients[k] *= std::pow(10., dim); deallog << 'P' << k << "\t= " << values[k] << "\tgradient\t";