[Gridflow-cvs] [svn] commit: r3520 - /trunk/base/flow_objects.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Apr 15 15:45:10 EDT 2008


Author: matju
Date: Tue Apr 15 15:45:10 2008
New Revision: 3520

Log:
[#import] defaults to [#import per_message]

Modified:
    trunk/base/flow_objects.c

Modified: trunk/base/flow_objects.c
==============================================================================
--- trunk/base/flow_objects.c (original)
+++ trunk/base/flow_objects.c Tue Apr 15 15:45:10 2008
@@ -180,7 +180,7 @@
 	SUPER;
 	this->cast = argc>=2 ? NumberTypeE_find(argv[1]) : int32_e;
 	if (argc>2) RAISE("too many arguments");
-	if (argv[0]!=SYM(per_message)) {
+	if (argc>0 && argv[0]!=SYM(per_message)) {
 		dim_grid=new Grid(argv[0]);
 		dim = dim_grid->to_dim();
 		if (!dim->prod()) RAISE("target grid size must not be zero");



More information about the Gridflow-cvs mailing list