Skip to content

Commit 2359ef8

Browse files
committed
fix deprecated syntax "global rng_state::Float64"
1 parent 03f37f2 commit 2359ef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/perf/shootout/fasta.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const IA = 3877.0
2222
const IC = 29573.0
2323

2424
function gen_random()
25-
global rng_state::Float64 = ((rng_state::Float64 * IA + IC) % IM) / IM
25+
global rng_state = ((rng_state::Float64 * IA + IC) % IM) / IM
2626
end
2727
function repeat_fasta(src, n)
2828
k = length(src)

0 commit comments

Comments
 (0)