[Gridflow-cvs] [svn] commit: r6377 - /trunk/src/classes1.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Tue Sep 28 12:14:35 EDT 2010


Author: matju
Date: Tue Sep 28 12:14:32 2010
New Revision: 6377

Log:
[#] = [# ignore]

Modified:
    trunk/src/classes1.cxx

Modified: trunk/src/classes1.cxx
==============================================================================
--- trunk/src/classes1.cxx (original)
+++ trunk/src/classes1.cxx Tue Sep 28 12:14:32 2010
@@ -524,7 +524,10 @@
 \class GridOp : FObject {
 	\attr Numop2 *op; // should allow Numop1 too
 	P<Grid> r;
-	\constructor (Numop2 *op, Grid *r=0) {this->op=op; this->r=r?r:new Grid(Dim(),int32_e,true);}
+	\constructor (Numop2 *op=0, Grid *r=0) {
+		this->op=op?op:TO(Numop2*,gensym("ignore"));
+		this->r=r?r:new Grid(Dim(),int32_e,true);
+	}
 	\grin 0
 	\grin 1
 };



More information about the Gridflow-cvs mailing list