[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 448)

rhaas at tapir.caltech.edu rhaas at tapir.caltech.edu
Mon Jan 14 08:23:17 CST 2013


User: rhaas
Date: 2013/01/14 08:23 AM

Modified:
 /trunk/src/
  GRHydro_Con2PrimM_pt.c

Log:
 GRHydro: Let the driver functions to take care of retval initialization
 
 From: Bruno Coutinho Mundim <bcmsma at astro.rit.edu>

File Changes:

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

File [modified]: GRHydro_Con2PrimM_pt.c
Delta lines: +2 -1
===================================================================
--- trunk/src/GRHydro_Con2PrimM_pt.c	2013-01-14 14:23:14 UTC (rev 447)
+++ trunk/src/GRHydro_Con2PrimM_pt.c	2013-01-14 14:23:16 UTC (rev 448)
@@ -229,7 +229,8 @@
   gammaeos = *gamma_eos;
 
   /* Assume ok initially: */
-  *retval = 0.;
+  // BCM: But let the driver function take care of its initialization
+  //*retval = 0.; 
   *epsnegative = 0; 
 
 #if(DEBUG_CON2PRIMM)



More information about the Commits mailing list