commit 66d9f3e3d75e83a0d4550bdfeb7f7e7f127cd341
parent 2208ff9aec927ef82e2e88cfaed96bbd066aaf93
Author: Anders Damsgaard <andersd@riseup.net>
Date: Mon, 1 May 2017 16:15:00 -0400
add fix for ice floe disabling
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/grid.jl b/src/grid.jl
@@ -53,6 +53,7 @@ function sortIceFloesInOceanGrid!(simulation::Simulation; verbose=false)
# remove ice floe if it is outside of the grid
if i == 0 && j == 0
disableIceFloe!(simulation, idx)
+ continue
end
# add cell to ice floe