Granular.jl

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

commit 9bc01e9c4afd4765c0e358041265cfbd6c14f8c2
parent a95a41c4e7d9b72dae9566e91d36f7bf04491d30
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Tue,  4 Dec 2018 08:24:51 +0100

Fix cp command

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

diff --git a/examples/image.jl b/examples/image.jl @@ -14,7 +14,7 @@ img = FileIO.load(img_file) # resize the image if it is too large, preceed with lopass to avoid antialias max_pixels = 100^2 if size(img, 1)*size(img, 2) > max_pixels - cp(img_file, "backup-" * img_file, remove_destination=true) + cp(img_file, "backup-" * img_file, force=true) run(`convert $(img_file) -resize "$(max_pixels)@>" $(img_file)`) img = FileIO.load(img_file) end