diff options
Diffstat (limited to 'Carpet/Carpet')
-rw-r--r-- | Carpet/Carpet/src/Timing.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/Timing.cc b/Carpet/Carpet/src/Timing.cc index 812c92ca5..6f58b3a3b 100644 --- a/Carpet/Carpet/src/Timing.cc +++ b/Carpet/Carpet/src/Timing.cc @@ -533,7 +533,7 @@ namespace Carpet { int const count = dist::size(); CCTK_REAL const avg = global.ups / count; - CCTK_REAL const stddev = sqrt (abs (global.ups2 - ipow (avg,2)) / count); + CCTK_REAL const stddev = sqrt (fabs (global.ups2 - ipow (avg,2)) / count); CCTK_VInfo (CCTK_THORNSTRING, "Local updates per second: %g", |