You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2012/02/16 15:47:18 UTC

svn commit: r1245003 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java

Author: erans
Date: Thu Feb 16 14:47:18 2012
New Revision: 1245003

URL: http://svn.apache.org/viewvc?rev=1245003&view=rev
Log:
Fixed (de-)serialization bug.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java?rev=1245003&r1=1245002&r2=1245003&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/random/ISAACRandom.java Thu Feb 16 14:47:18 2012
@@ -65,13 +65,13 @@ public class ISAACRandom extends BitsStr
     /** Counter, guarantees cycle is at least 2^40 */
     private int isaacC;
     /** Service variable. */
-    private final transient int[] arr = new int[8];
+    private final int[] arr = new int[8];
     /** Service variable. */
-    private transient int isaacX;
+    private int isaacX;
     /** Service variable. */
-    private transient int isaacI;
+    private int isaacI;
     /** Service variable. */
-    private transient int isaacJ;
+    private int isaacJ;
 
 
     /**