[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:54:10 UTC 2009
The following commit has been merged in the upstream branch:
commit ce161493e1212eb6374c74cca57f16bf044a633a
Author: Stephane Popinet <popinet at users.sf.net>
Date: Tue Mar 27 14:16:21 2007 +1000
Bug fix for non-initialised fractions in GfsOcean
darcs-hash:20070327041621-d4795-be6f823efded8535dfe61e3d39a33025345ed0dc.gz
diff --git a/src/solid.c b/src/solid.c
index 50220e7..7743afc 100644
--- a/src/solid.c
+++ b/src/solid.c
@@ -302,7 +302,7 @@ gboolean gfs_set_2D_solid_fractions_from_surface (FttCell * cell,
/* fall through */
case 2: {
if (!solid)
- GFS_STATE (cell)->solid = solid = g_malloc (sizeof (GfsSolidVector));
+ GFS_STATE (cell)->solid = solid = g_malloc0 (sizeof (GfsSolidVector));
face_fractions (&f, solid, &h);
break;
}
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list