Merge
authorAlpar Juttner <alpar@cs.elte.hu>
Fri, 25 Jan 2008 14:52:50 +0000
changeset 631113f6d12c0c
parent 61 d718974f1290
parent 62 4790635473ef
child 64 761622e5ed4c
child 73 c56b7389dc78
Merge
     1.1 --- a/lemon/random.h	Fri Jan 25 13:39:52 2008 +0100
     1.2 +++ b/lemon/random.h	Fri Jan 25 14:52:50 2008 +0000
     1.3 @@ -254,7 +254,7 @@
     1.4              curr[length - shift] ^ mask[curr[-1] & 1ul];
     1.5            --curr;
     1.6          }
     1.7 -        curr[0] = (((curr[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^
     1.8 +        state[0] = (((state[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^
     1.9            curr[length - shift] ^ mask[curr[length - 1] & 1ul];
    1.10  
    1.11        }