[Commit] nickle prng.5c,1.9,1.10
Bart Massey
commit at keithp.com
Thu Oct 9 23:00:51 PDT 2003
- Previous message: [Commit] cairo/src cairo_hull.c, NONE, 1.1 Makefile.am, 1.9,
1.10 cairo_path_stroke.c, 1.9, 1.10 cairo_pen.c, 1.9,
1.10 cairo_slope.c, 1.1, 1.2 cairoint.h, 1.27, 1.28
- Next message: [Commit] xcb/lib/XCB macros-xcb.m4,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: bart
Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv8930
Modified Files:
prng.5c
Log Message:
The temp value in the shuffler was int, but should have been
poly. Oops.
Index: prng.5c
===================================================================
RCS file: /local/src/CVS/nickle/prng.5c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- prng.5c 2 Jun 2003 04:10:21 -0000 1.9
+++ prng.5c 10 Oct 2003 05:00:49 -0000 1.10
@@ -52,7 +52,7 @@
int na = dim(a);
for (int i = 0; i < na - 1; i++) {
int j = randint(na - i) + i;
- int tmp = a[i];
+ poly tmp = a[i];
a[i] = a[j];
a[j] = tmp;
}
- Previous message: [Commit] cairo/src cairo_hull.c, NONE, 1.1 Makefile.am, 1.9,
1.10 cairo_path_stroke.c, 1.9, 1.10 cairo_pen.c, 1.9,
1.10 cairo_slope.c, 1.1, 1.2 cairoint.h, 1.27, 1.28
- Next message: [Commit] xcb/lib/XCB macros-xcb.m4,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commit
mailing list