diff options
author | jthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2006-08-31 09:53:22 +0000 |
---|---|---|
committer | jthorn <jthorn@0f49ee68-0e4f-0410-9b9c-b2c123ded7ef> | 2006-08-31 09:53:22 +0000 |
commit | 0dcdb06d4a61d4d877db975bf969f031616472d9 (patch) | |
tree | ef314416b6839c8e34ad51aad632286338bd2e61 | |
parent | 22b7590837071fe846521901a20b8e20d84531b3 (diff) |
add a missing 'break' in a switch statement
this would have been triggered (causing a spurious
> CCTK_InterpLocalUniform(): internal error!
> unexpected result -4 from AEILocalInterp_molecule_posn()
> at pt=0 axis=0!
if an interpolation coordinate is a NaN or other non-finite quantity
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@41 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
-rw-r--r-- | src/template.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/template.c b/src/template.c index 09ed7b3..fcb198b 100644 --- a/src/template.c +++ b/src/template.c @@ -976,6 +976,7 @@ if (debug > 0) break; case MOLECULE_POSN_ERROR_NAN: this_axis_status = CCTK_ERROR_INTERP_COORD_NAN; + break; default: CCTK_VWarn(BUG_MSG_SEVERITY_LEVEL, __LINE__, __FILE__, CCTK_THORNSTRING, |