aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/OutputGH.cc
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2011-08-10 07:30:14 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 19:54:48 +0000
commitc6cfc65f560302fafabb180c3b83ec4bb3ca34be (patch)
tree6f1e87dd889dd8286c729dbb39a5772abfb44916 /Carpet/Carpet/src/OutputGH.cc
parentb41bfe730fa31651daf3b7272c95334f52a7115d (diff)
Carpet: always stop started timers in OutputGH routine
Diffstat (limited to 'Carpet/Carpet/src/OutputGH.cc')
-rw-r--r--Carpet/Carpet/src/OutputGH.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/OutputGH.cc b/Carpet/Carpet/src/OutputGH.cc
index 383c16fb5..6c2c4c311 100644
--- a/Carpet/Carpet/src/OutputGH.cc
+++ b/Carpet/Carpet/src/OutputGH.cc
@@ -30,6 +30,7 @@ namespace Carpet {
int const num_methods = CCTK_NumIOMethods();
if (num_methods == 0) {
+ timer.stop();
return -1;
}