Skip to content

Commit

Permalink
Update src/kernel/outwards.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Rafael Schouten <[email protected]>
  • Loading branch information
nicolasmerino41 and rafaqz authored Jun 13, 2024
1 parent b8be33f commit 5dd7c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/outwards.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ end
@inline function applyrule!(data, rule::OutwardsDispersal{R,W}, N, I) where {R,W}
N == zero(N) && return nothing
# Check if the current cell is masked, skip if it is
if rule.mask !== nothing && !rule.mask[I...]
!isnothing(rule.mask) && !rule.mask[I...]
return nothing
end
sum = zero(N)
Expand Down

0 comments on commit 5dd7c2c

Please sign in to comment.