Skip to content

Commit

Permalink
Corrected oversight in last Moran library model modification
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriBanana committed Aug 18, 2023
1 parent a4f3aad commit 01fa686
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ global {
}
}
vals <- cell collect (each.color = #white ? 0.0 : 1.0);
weights <- 0.0 as_matrix {grid_size, grid_size};
weights <- 0.0 as_matrix {length(vals), length(vals)};
ask cell {
switch weight_type {
match "neighbors" {
Expand Down

0 comments on commit 01fa686

Please sign in to comment.