File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -228,12 +228,7 @@ def get_reports(agent):
228
228
reports = tuple (rep (agent ) for rep in rep_funcs )
229
229
return _prefix + reports
230
230
231
- agent_records = map (
232
- get_reports ,
233
- model .schedule .agents
234
- if hasattr (model , "schedule" ) and model .schedule is not None
235
- else model .agents ,
236
- )
231
+ agent_records = map (get_reports , model .agents )
237
232
return agent_records
238
233
239
234
def _record_agenttype (self , model , agent_type ):
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ class Model:
35
35
36
36
Attributes:
37
37
running: A boolean indicating if the model should continue running.
38
- schedule: An object to manage the order and execution of agent steps.
39
38
steps: the number of times `model.step()` has been called.
40
39
random: a seeded python.random number generator.
41
40
rng : a seeded numpy.random.Generator
You can’t perform that action at this time.
0 commit comments