Skip to content

Commit 56059ae

Browse files
committed
Upgrade dependencies
1 parent 2021020 commit 56059ae

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

futhark.pkg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require {
22
github.com/athas/matte 0.1.3 #ec4243a5f64cb818a4289dbc4953460ea19da12c
3-
github.com/diku-dk/lys 0.1.24 #8fcf500687927f54a81825b9c3d9a2a9f07a1aac
3+
github.com/diku-dk/lys 0.1.26 #5a411c1ddd0d0c6cdc82ecd86c263c535832bfd9
44
github.com/athas/vector 0.7.1 #c8f9f029530cb29db9b2957b80e65dbe893c01df
5-
github.com/diku-dk/cpprandom 1.3.1 #7ea358bd8bbbeb4786030a21a8d947ef37d1e032
5+
github.com/diku-dk/cpprandom 1.4.1 #c95459a4f362a56293cbefe71ef8dcb78b7a333e
66
}

swirl/base.fut

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import "../lib/github.com/diku-dk/lys/lys"
55
import "settings"
66

77
module rnge = xorshift128plus
8-
module f32dist = uniform_real_distribution f32 rnge
8+
module f32dist = uniform_real_distribution f32 u64 rnge
99
type rng = rnge.rng
1010

1111
type render_approach = #scalarloop | #cullbranches
@@ -29,10 +29,12 @@ module type float_extended = {
2929
val gen_float: rnge.rng -> (rng, t)
3030
}
3131

32+
module normal_distribution_u64 (float: float) = normal_distribution float u64 rnge
33+
3234
module mk_float_extended (float: float): float_extended with t = float.t = {
3335
open float
3436

35-
module norm_dist = normal_distribution float rnge
37+
module norm_dist = normal_distribution_u64 float
3638

3739
type render_result [h][w] = render_result_base [h][w] t
3840

0 commit comments

Comments
 (0)