diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-11-05 15:20:21 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-11-05 15:20:21 +0000 |
commit | 8e9078420975f4e1a436e8da8067c07200eb1af3 (patch) | |
tree | 714b1c01270bafdc5572be6be53a2883ddecd395 /src/driver/find_horizons.cc | |
parent | bf2525328d4960c5327011740c2756b536408ae5 (diff) |
fix a nasty bug where I tried to print int(method) with a %d format
in an error message (method is a CCTK keyword parameter = const char * here)
instead of printing int(state.method) (the same parameter decoded
into an enum for internal use)
[[this bug only affected a "this should never happen" error message,
and was caught by the regatta C++ compiler]]
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@883 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/driver/find_horizons.cc')
-rw-r--r-- | src/driver/find_horizons.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/find_horizons.cc b/src/driver/find_horizons.cc index 69fc0dc..0dd4356 100644 --- a/src/driver/find_horizons.cc +++ b/src/driver/find_horizons.cc @@ -266,7 +266,7 @@ if (verbose_info.print_physics_details) " find_horizons(): unknown method=(int)%d!\n" " (this should never happen!)" , - int(method)); /*NOTREACHED*/ + int(state.method)); /*NOTREACHED*/ } } |