[Commits] [svn:einsteintoolkit] TOVSolver/trunk/src/ (Rev. 150)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Wed Apr 30 14:31:06 CDT 2014


User: rhaas
Date: 2014/04/30 02:31 PM

Modified:
 /trunk/src/
  tov.c

Log:
 fix just introduced error handling the common case of TOV_Populate_Timelevels==1

File Changes:

Directory: /trunk/src/
======================

File [modified]: tov.c
Delta lines: +2 -0
===================================================================
--- trunk/src/tov.c	2014-04-30 19:25:56 UTC (rev 149)
+++ trunk/src/tov.c	2014-04-30 19:31:06 UTC (rev 150)
@@ -948,6 +948,8 @@
         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,



More information about the Commits mailing list