I’m working with continuous time ABM. For my model just changing radius of agent lead to this error which doesn’t make sense.
Error:
ERROR: position is outside space extent!
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] move_agent!(agent::CTL, pos::SVector{…}, model::EventQueueABM{…})
@ Agents ~/.julia/packages/Agents/8JW8b/src/spaces/continuous.jl:149
[3] move!(agent::CTL, model::EventQueueABM{…})
@ Main ~/PhD/Program_Julia/code/test_celllist_continuous_time.jl:205
[4] process_event!(event_tuple::Tuple{…}, model::EventQueueABM{…})
@ Agents ~/.julia/packages/Agents/8JW8b/src/simulations/step_eventqueue.jl:60
[5] one_step!(queue::DataStructures.BinaryHeap{…}, model_t::Base.RefValue{…}, stop_time::Float64, model::EventQueueABM{…})
@ Agents ~/.julia/packages/Agents/8JW8b/src/simulations/step_eventqueue.jl:42
[6] step_ahead!
@ ~/.julia/packages/Agents/8JW8b/src/simulations/step_eventqueue.jl:19 [inlined]
[7] step!
@ ~/.julia/packages/Agents/8JW8b/src/simulations/step_eventqueue.jl:5 [inlined]
[8] step!(abmobs::ABMObservable{…}, t::Int64)
@ AgentsVisualizations ~/.julia/packages/Agents/8JW8b/ext/AgentsVisualizations/src/model_observable.jl:37
[9] (::AgentsVisualizations.var"#77#80"{Int64, EventQueueABM{…}, ABMObservable{…}, Observable{…}})(io::VideoStream)
@ AgentsVisualizations ~/.julia/packages/Agents/8JW8b/ext/AgentsVisualizations/src/convenience.jl:123
[10] Record(func::AgentsVisualizations.var"#77#80"{…}, figlike::Figure; kw_args::@Kwargs{…})
@ Makie ~/.julia/packages/Makie/iRM0c/src/recording.jl:166
[11] record(func::Function, figlike::Figure, path::String; kw_args::@Kwargs{framerate::Int64, compression::Int64})
@ Makie ~/.julia/packages/Makie/iRM0c/src/recording.jl:148
[12] record
@ ~/.julia/packages/Makie/iRM0c/src/recording.jl:146 [inlined]
[13] abmvideo(file::String, model::EventQueueABM{…}; spf::Nothing, dt::Int64, framerate::Int64, frames::Int64, title::String, showstep::Bool, figure::@NamedTuple{…}, axis::@NamedTuple{}, recordkwargs::@NamedTuple{…}, kwargs::@Kwargs{…})
@ AgentsVisualizations ~/.julia/packages/Agents/8JW8b/ext/AgentsVisualizations/src/convenience.jl:120
[14] top-level scope
@ ~/PhD/Program_Julia/code/test_celllist_continuous_time.jl:233
Some type information was truncated. Use `show(err)` to see complete types.