Granular.jl

Julia package for granular dynamics simulation
git clone git://src.adamsgaard.dk/Granular.jl
Log | Files | Refs | README | LICENSE

commit 54c0475aa12d6e37d03c2bffca3d1ae8794a165c
parent 2e667ce3f7af86c0fb8bb083e1d97bc7b75b9e2d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed,  6 Jun 2018 13:10:02 -0400

Update zeros call in packing routine for compatibility with Julia 0.7

Diffstat:
Msrc/packing.jl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/packing.jl b/src/packing.jl @@ -442,7 +442,7 @@ function rasterMap(sim::Simulation, dx::Real) origo = [sw[1], sw[2]] end dims = floor.(L./dx) - occupied = zeros(Bool, dims[1], dims[2]) + occupied = zeros(Bool, convert(dims[1], dims[2])) # Loop over existing grains and mark their extent in the `occupied` array i = 0; j = 0