packages feed

xorshift 2 → 2.0.1

raw patch · 3 files changed

+2/−4 lines, 3 files

Files

src/Random/Xorshift/Int32.hs view
@@ -43,7 +43,6 @@ instance RandomGen Xorshift32 where   next a = (fromIntegral c, b) where     b@(Xorshift32 c) = step32 a-  split  = error "Splitting of an Xorshift random generator is not implemented."   genRange a = (fromEnum (minBound `asTypeOf` a),                 fromEnum (maxBound `asTypeOf` a)) 
src/Random/Xorshift/Int64.hs view
@@ -43,7 +43,6 @@ instance RandomGen Xorshift64 where   next a = (fromIntegral c, b) where     b@(Xorshift64 c) = step64 a-  split  = error "Splitting of an Xorshift random generator is not implemented."   genRange a = (fromEnum (minBound `asTypeOf` a),                 fromEnum (maxBound `asTypeOf` a)) 
xorshift.cabal view
@@ -1,5 +1,5 @@ name: xorshift-version: 2+version: 2.0.1 Cabal-Version: >= 1.6 build-type: Simple @@ -42,4 +42,4 @@ source-repository this   type:     git   location: git://github.com/fuzxxl/Xorshift.git-  tag:      release-2+  tag:      release-2.0.1