[Gridflow-cvs] [svn] commit: r3582 - /trunk/base/grid.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Apr 16 23:57:06 EDT 2008


Author: matju
Date: Wed Apr 16 23:57:06 2008
New Revision: 3582

Log:
reverting mistake (this change was supposed to be applied only to init_from_list by contrast to init_from_ruby_list)

Modified:
    trunk/base/grid.c

Modified: trunk/base/grid.c
==============================================================================
--- trunk/base/grid.c (original)
+++ trunk/base/grid.c Wed Apr 16 23:57:06 2008
@@ -147,7 +147,7 @@
 	T *p = (T *)*this; \
 	if (n==0) CLEAR(p,nn); \
 	else { \
-		for (int i=0; i<n; i++) p[i] = a[i]; \
+		for (int i=0; i<n; i++) NUM(a[i],p[i]); \
 		for (int i=n; i<nn; i+=n) COPY(p+i,p,min(n,nn-i)); }}
 	TYPESWITCH(nt,FOO,)
 #undef FOO



More information about the Gridflow-cvs mailing list