[Commit] nickle prng.5c,1.9,1.10

Bart Massey commit at keithp.com
Thu Oct 9 23:00:51 PDT 2003


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;
     }




More information about the Commit mailing list