Skip to content

Commit 0388e37

Browse files
committed
fix deprecated syntax "global rng_state::Float64"
(cherry picked from commit 2359ef8) ref #18022
1 parent bc7f384 commit 0388e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/perf/shootout/fasta.jl

+1-1
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)