Skip to content

Commit 352f86e

Browse files
authored
Fix wrong dispatch in example (#1127)
* Fix wrong dispatch in example * Update Project.toml
1 parent 2f533eb commit 352f86e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Agents"
22
uuid = "46ada45e-f475-11e8-01d0-f70cc89e6671"
33
authors = ["George Datseris", "Tim DuBois", "Aayush Sabharwal", "Ali Vahdati", "Adriano Meligrana"]
4-
version = "6.2.2"
4+
version = "6.2.3"
55

66
[deps]
77
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"

examples/rabbit_fox_hawk.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ model = initialize_model()
366366
#
367367
# using GLMakie # CairoMakie doesn't do 3D plots well
368368
# ```
369-
animalcolor(animal) = animalcolor(animal, variant(animal))
369+
animalcolor(animal) = animalcolor(variant(animal))
370370
animalcolor(a::Rabbit) = :brown
371371
animalcolor(a::Fox) = :orange
372372
animalcolor(a::Hawk) = :blue

0 commit comments

Comments
 (0)