From 311677bb03fbc6f0469040bbe6c7f38e2757c747 Mon Sep 17 00:00:00 2001 From: Corvince <13568919+Corvince@users.noreply.github.com> Date: Tue, 14 Jul 2020 15:00:20 +0200 Subject: [PATCH] fix agents return type --- mesa_geo/geospace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesa_geo/geospace.py b/mesa_geo/geospace.py index dcb535e6..7615873e 100644 --- a/mesa_geo/geospace.py +++ b/mesa_geo/geospace.py @@ -167,7 +167,7 @@ def update_bbox(self, bbox=None): @property def agents(self): - return self.idx.agents.values() + return list(self.idx.agents.values()) @property def __geo_interface__(self):