Hello,
I had no idea about the existence of CellListMap.jl. Sounds like this could be wonderfully integrated with Agents.jl and accelerate existing functions like interacting_pairs
we have there… I wish the authors of the package had contacted us about this!
In the meantime, @ehsani63 are you perhaps interested in contributing an integration example in our documentation, similar to the integration examples with e.g., DifferentialEquations.jl or other packages?
Now to your question:
I don’t think this is a good assumption to make! E.g., the code you provide is not runnable, nor do you provide any error stacktraces about what the actual error is. I’d advise you to make a Minimal Working Example or look here for more info on helping us help you: Please read: make it easier to help you
Nevertheless it seems to me that the error probably comes from the map_pairwise!
function.