Skip to content

Commit

Permalink
Merge pull request projectmesa#705 from rht/gini-tutorial
Browse files Browse the repository at this point in the history
intro tutorial: Clarify a function that is not defined in the class
  • Loading branch information
dmasad authored Jul 5, 2019
2 parents 7869054 + 7733eaf commit ede8364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/intro_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ measure of wealth inequality.
self.grid.place_agent(a, (x, y))
self.datacollector = DataCollector(
model_reporters={"Gini": compute_gini},
model_reporters={"Gini": compute_gini}, # `compute_gini` defined above
agent_reporters={"Wealth": "wealth"})
def step(self):
Expand Down

0 comments on commit ede8364

Please sign in to comment.