tadd fix for ice floe disabling - Granular.jl - Julia package for granular dyna… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 66d9f3e3d75e83a0d4550bdfeb7f7e7f127cd341 | |
parent 2208ff9aec927ef82e2e88cfaed96bbd066aaf93 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 1 May 2017 16:15:00 -0400 | |
add fix for ice floe disabling | |
Diffstat: | |
M src/grid.jl | 1 + | |
1 file changed, 1 insertion(+), 0 deletions(-) | |
--- | |
diff --git a/src/grid.jl b/src/grid.jl | |
t@@ -53,6 +53,7 @@ function sortIceFloesInOceanGrid!(simulation::Simulation; ve… | |
# 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 |