Running julia built off git head a few days ago.
julia> counts = Sim.go()
ERROR: access to undefined reference
in getindex at array.jl:246
in go at /home/ross/UCSF/HIVRace/simpleMath.jl:108
Here's the relevant function, with line 108 indicated
function go()
global time, actors
# actors start with default 0 cut
for time = 1:nstep
for i = 1:npop
js = unique(rand(1:npop, ncandidates))
for j in js
if i != j && accept(i, j, time) && accept(j, i, time) # 108
here
match!(i, j, time)
end
end
end
end
counts
end
108 doesn't even seem to have an array in it, although this is described as a
getindex failure.
accept is another function defined in the file.
What's going on?
git branch -v says
* master d4f8c31 fix one more issue in commit
9b5b197695ebe05bb95cf60a0b028e3677529c8f