[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203
Stephane Popinet
popinet at users.sf.net
Fri May 15 02:54:24 UTC 2009
The following commit has been merged in the upstream branch:
commit fc22a25ba8252dc71a3ac0c3c68d3db94e0604d5
Author: Stephane Popinet <popinet at users.sf.net>
Date: Thu Jul 5 22:58:23 2007 +1000
Fix for corner case in face_bilinear()
darcs-hash:20070705125823-d4795-8ff454bc21a84202f3f0dfeaf901b5b404276e9b.gz
diff --git a/src/fluid.c b/src/fluid.c
index 9301b6f..16f8dbd 100644
--- a/src/fluid.c
+++ b/src/fluid.c
@@ -733,6 +733,8 @@ static FttCell * cell_corner_neighbor1 (FttCell * cell,
FttDirection * d,
gint max_level)
{
+ if (!cell)
+ return NULL;
FttCell * neighbor = ftt_cell_neighbor (cell, d[0]);
if (!neighbor)
return NULL;
--
Gerris Flow Solver
More information about the debian-science-commits
mailing list