From: bangerth Date: Wed, 20 Mar 2013 04:00:05 +0000 (+0000) Subject: More standardization. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41710166e0a4648fc29e33e7f7e2604359f5046d;p=dealii-svn.git More standardization. git-svn-id: https://svn.dealii.org/trunk@28952 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-26/step-26.cc b/deal.II/examples/step-26/step-26.cc index ab471df4ed..368567c199 100644 --- a/deal.II/examples/step-26/step-26.cc +++ b/deal.II/examples/step-26/step-26.cc @@ -231,9 +231,11 @@ namespace Step26 Vector tmp(solution.size()); Vector forcing_terms(solution.size()); - for (timestep_number = 1, time = time_step; time <= 0.5; - time += time_step, ++timestep_number) + while (time <= 0.5) { + time += time_step; + ++timestep_number; + std::cout << "Time step " << timestep_number << " at t=" << time << std::endl;