[Gridflow-cvs] [svn] commit: r4103 - /trunk/base/flow_objects2.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Oct 17 15:57:51 EDT 2008


Author: matju
Date: Fri Oct 17 15:57:50 2008
New Revision: 4103

Log:
[#cluster_avg]: check whether r is empty (was segfaulting)

Modified:
    trunk/base/flow_objects2.c

Modified: trunk/base/flow_objects2.c
==============================================================================
--- trunk/base/flow_objects2.c (original)
+++ trunk/base/flow_objects2.c Fri Oct 17 15:57:50 2008
@@ -65,6 +65,7 @@
 };
 
 GRID_INLET(0) {
+	NOTEMPTY(r);
 	int32 v[r->dim->n];
 	COPY(v,r->dim->v,r->dim->n-1);
 	v[r->dim->n-1]=1;



More information about the Gridflow-cvs mailing list