tRemove @inbounds flag for grid sorting - Granular.jl - Julia package for granu… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1935a43410af86f80c260b1aa67c1c538fede904 | |
parent 7ca1f0b08ff35044b7ae9bbc500b61f642d77da1 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 15 Jan 2018 10:55:37 -0500 | |
Remove @inbounds flag for grid sorting | |
Diffstat: | |
M src/grid.jl | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/grid.jl b/src/grid.jl | |
t@@ -226,7 +226,7 @@ function sortGrainsInGrid!(simulation::Simulation, grid::A… | |
end | |
# add grain to cell | |
- @inbounds push!(grid.grain_list[i, j], idx) | |
+ push!(grid.grain_list[i, j], idx) | |
end | |
nothing | |
end |