From 1ff99ac11935855c0f25ecd6a5af374afc749a0f Mon Sep 17 00:00:00 2001 From: heister Date: Tue, 29 May 2012 19:24:28 +0000 Subject: [PATCH] step-42: fix compilation error git-svn-id: https://svn.dealii.org/trunk@25561 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index 81038da2dd..5683e4af2a 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -1177,7 +1177,7 @@ void Step4::solve_newton () double a = 0; for (unsigned int i=0; (i<10)&&(!damped); i++) { - a=pow(0.5,i); + a=pow(0.5, static_cast(i)); old_solution = tmp_vector; old_solution.sadd(1-a,a, distributed_solution); -- 2.39.5