]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Disambiguate call to std::pow:
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 8 Nov 2006 16:33:06 +0000 (16:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 8 Nov 2006 16:33:06 +0000 (16:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@14172 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-25/step-25.cc

index 4cdb772447c5c8f06326417b3b4da988115107b7..cd65ca9b1c486df7d9d8e85cb5b26b973c64cdfa 100644 (file)
@@ -323,7 +323,7 @@ SineGordonProblem<dim>::SineGordonProblem ()
                n_global_refinements (6),
                time (-5.4414),
                final_time (2.7207),
-               time_step (10*1./std::pow(2.,n_global_refinements)),
+               time_step (10*1./std::pow(2.,1.*n_global_refinements)),
                theta (0.5),
                output_timestep_skip (1)
 {}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.