From 3a78ffd5f55a87257edaf7f4f6ba4152056930bd Mon Sep 17 00:00:00 2001 From: heister Date: Wed, 20 Mar 2013 17:02:43 +0000 Subject: [PATCH] fix bug in TimerOutput introduced earlier git-svn-id: https://svn.dealii.org/trunk@28959 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/base/timer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5