File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11require {
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}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import "../lib/github.com/diku-dk/lys/lys"
55import " settings"
66
77module rnge = xorshift128plus
8- module f32dist = uniform_real_distribution f32 rnge
8+ module f32dist = uniform_real_distribution f32 u64 rnge
99type rng = rnge .rng
1010
1111type 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+
3234module 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
You can’t perform that action at this time.
0 commit comments