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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Thu Aug 12 13:19:38 EDT 2010


Author: matju
Date: Thu Aug 12 13:19:36 2010
New Revision: 6047

Log:
[#] accepts 0-size right hand by treating it like a zero.

Modified:
    trunk/src/classes1.cxx

Modified: trunk/src/classes1.cxx
==============================================================================
--- trunk/src/classes1.cxx (original)
+++ trunk/src/classes1.cxx Thu Aug 12 13:19:36 2010
@@ -576,7 +576,7 @@
 				if (pn>nn) COPY(data2+nn,rdata,pn-nn);
 				op->zip(pn/op->size,tada,data2);
 			}
-		} else op->map(pn,tada,*rdata);
+		} else op->map(pn,tada,loop ? *rdata : T(0));
 		out->send(pn,tada);
 		n-=pn; data+=pn;
 	}



More information about the Gridflow-cvs mailing list