From: heister Date: Tue, 29 May 2012 19:24:28 +0000 (+0000) Subject: step-42: fix compilation error X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ff99ac11935855c0f25ecd6a5af374afc749a0f;p=dealii-svn.git step-42: fix compilation error git-svn-id: https://svn.dealii.org/trunk@25561 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);