From: heister Date: Wed, 20 Mar 2013 17:02:43 +0000 (+0000) Subject: fix bug in TimerOutput introduced earlier X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a78ffd5f55a87257edaf7f4f6ba4152056930bd;p=dealii-svn.git fix bug in TimerOutput introduced earlier git-svn-id: https://svn.dealii.org/trunk@28959 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/timer.cc b/deal.II/source/base/timer.cc index fa306f48a8..0e70c5788a 100644 --- a/deal.II/source/base/timer.cc +++ b/deal.II/source/base/timer.cc @@ -406,7 +406,8 @@ TimerOutput::leave_subsection (const std::string §ion_name) // in case we have to print out // something, do that here... - if (output_frequency != summary && output_is_enabled == true) + if ((output_frequency == every_call || output_frequency == every_call_and_summary) + && output_is_enabled == true) { std::string output_time; std::ostringstream cpu;