Skip to content

Commit

Permalink
fix deprecated syntax "global rng_state::Float64"
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Aug 13, 2016
1 parent 03f37f2 commit 2359ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/perf/shootout/fasta.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const IA = 3877.0
const IC = 29573.0

function gen_random()
global rng_state::Float64 = ((rng_state::Float64 * IA + IC) % IM) / IM
global rng_state = ((rng_state::Float64 * IA + IC) % IM) / IM
end
function repeat_fasta(src, n)
k = length(src)
Expand Down

0 comments on commit 2359ef8

Please sign in to comment.