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

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Oct 1 16:05:58 EDT 2010


Author: matju
Date: Fri Oct  1 16:05:56 2010
New Revision: 6384

Log:
fix [#for] problem introduced recently. I hope it's not too slow like that.

Modified:
    trunk/src/classes1.cxx

Modified: trunk/src/classes1.cxx
==============================================================================
--- trunk/src/classes1.cxx (original)
+++ trunk/src/classes1.cxx Fri Oct  1 16:05:56 2010
@@ -903,7 +903,7 @@
 			for(;;d--) {
 				if (d<0) goto end;
 				x[k+d]+=stepb[d];
-				if (x[k+d]<tob[d]) break;
+				if (stepb[d]>0 ? x[k+d]<tob[d] : x[k+d]>tob[d]) break;
 			}
 		}
 		end: if (k) go->send(k,x);



More information about the Gridflow-cvs mailing list