Skip to content

Commit

Permalink
Small fixes in Schelling example
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhav sharma committed Dec 20, 2024
1 parent dfd9d41 commit 59e9692
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmarks/configurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"parameters": {
"height": 100,
"width": 100,
"homophily": 0.4,
"homophily": 1,
"radius": 2,
"density": 0.8,
},
Expand Down
2 changes: 1 addition & 1 deletion mesa/examples/basic/schelling/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def agent_portrayal(agent):
},
"density": Slider("Agent density", 0.8, 0.1, 1.0, 0.1),
"minority_pc": Slider("Fraction minority", 0.2, 0.0, 1.0, 0.05),
"homophily": Slider("Homophily", 0.4, 0.0, 1.0, 0.1),
"homophily": Slider("Homophily", 0.4, 0.0, 1.0, 0.125),
"width": 20,
"height": 20,
}
Expand Down

0 comments on commit 59e9692

Please sign in to comment.