aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhaas <rhaas@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2014-04-30 19:31:06 +0000
committerrhaas <rhaas@1bdb13ef-5d69-4035-bb54-08abeb3aa7f1>2014-04-30 19:31:06 +0000
commitf7c636bb19f44f021a95b6b162963312c6819e62 (patch)
treeb0fde14b00cd5f973b4b59eb1a398ebb7d8fc079
parent49d69d67bd8c6e0bd4e6abb5dcf12e12c3a6ced4 (diff)
fix just introduced error handling the common case of TOV_Populate_Timelevels==1
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TOVSolver/trunk@150 1bdb13ef-5d69-4035-bb54-08abeb3aa7f1
-rw-r--r--src/tov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tov.c b/src/tov.c
index 7258efb..db0792c 100644
--- a/src/tov.c
+++ b/src/tov.c
@@ -948,6 +948,8 @@ void TOV_C_Exact(CCTK_ARGUMENTS)
TOV_Copy(i3D, vely_p, vely);
TOV_Copy(i3D, velz_p, velz);
TOV_Copy(i3D, w_lorentz_p, w_lorentz);
+ // fall through
+ case 1:
break;
default:
CCTK_VWarn(CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING,