diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-08-30 10:26:58 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:34 +0100 |
commit | cdb1e921ca835128a5a1eb9beba16a2b7a2ac5d5 (patch) | |
tree | 62919d2a94b882e53c86fcdf7f4d530af984f051 | |
parent | 7c22b99e959b2655abfea584b4badd5e8287d974 (diff) |
Carpet: Remove unused variable
-rw-r--r-- | Carpet/Carpet/src/Timing.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Timing.cc b/Carpet/Carpet/src/Timing.cc index 07454a72c..ccdfd3f71 100644 --- a/Carpet/Carpet/src/Timing.cc +++ b/Carpet/Carpet/src/Timing.cc @@ -417,7 +417,7 @@ namespace Carpet { static int last_iteration = -1; static size_t num_samples = 0; - static CCTK_REAL last_physical_time; + // static CCTK_REAL last_physical_time; static CCTK_REAL last_time_evolution; assert (cctk_iteration > last_iteration); // expect progress @@ -435,7 +435,7 @@ namespace Carpet { } else if (num_samples < 3 or * time_evolution < 0.01 * timing_average_window_minutes * 60.0) { - // Less than three previous samples are available, or less thatn + // Less than three previous samples are available, or less than // one percent of a window of past data are available * current_physical_time_per_hour = * physical_time_per_hour; } else { @@ -451,7 +451,7 @@ namespace Carpet { // Remember last iteration last_iteration = cctk_iteration; ++ num_samples; - last_physical_time = physical_time; + // last_physical_time = physical_time; last_time_evolution = * time_evolution; } |