I’m running some Julia code and the error message I get is as the following:
UndefRefError: access to undefined reference
in top-level scope at base/None
in simulate! at do_sim.jl:10
#simulate!#46 at so_sim.jl:38
simulateNextEvent! at do_sim.jl:84
simulateEvent! at do_sim.jl:184
findAmbToCallReturnRouteDistTime! at decisions.jl:117
get property at base/sysing.jl:18
Yet, I have checked the code several times and it should be good. Any comments about where and how to fix the error here?