]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix bug in TimerOutput introduced earlier
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2013 17:02:43 +0000 (17:02 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 20 Mar 2013 17:02:43 +0000 (17:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@28959 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/base/timer.cc

index fa306f48a8d507cc130b5203e61a69554f8f1e2c..0e70c5788acfb2b47683fe30a5f59847d6c5fd5f 100644 (file)
@@ -406,7 +406,8 @@ TimerOutput::leave_subsection (const std::string &section_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;

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.