Skip to content

Commit

Permalink
Fix wrong dispatch in example (#1127)
Browse files Browse the repository at this point in the history
* Fix wrong dispatch in example

* Update Project.toml
  • Loading branch information
Tortar authored Jan 19, 2025
1 parent 2f533eb commit 352f86e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Agents"
uuid = "46ada45e-f475-11e8-01d0-f70cc89e6671"
authors = ["George Datseris", "Tim DuBois", "Aayush Sabharwal", "Ali Vahdati", "Adriano Meligrana"]
version = "6.2.2"
version = "6.2.3"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down
2 changes: 1 addition & 1 deletion examples/rabbit_fox_hawk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ model = initialize_model()
#
# using GLMakie # CairoMakie doesn't do 3D plots well
# ```
animalcolor(animal) = animalcolor(animal, variant(animal))
animalcolor(animal) = animalcolor(variant(animal))
animalcolor(a::Rabbit) = :brown
animalcolor(a::Fox) = :orange
animalcolor(a::Hawk) = :blue
Expand Down

0 comments on commit 352f86e

Please sign in to comment.