From 0dcdb06d4a61d4d877db975bf969f031616472d9 Mon Sep 17 00:00:00 2001 From: jthorn Date: Thu, 31 Aug 2006 09:53:22 +0000 Subject: 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 --- src/template.c | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.2.3