tfix variable name - Granular.jl - Julia package for granular dynamics simulati… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 4148921ec0aeb783a3cb3b7a3432918434e57101 | |
parent 66c6d64d02ab1b6e1126f8533382f22e96ac3b85 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 22 Nov 2017 08:57:45 -0500 | |
fix variable name | |
Diffstat: | |
M src/grid.jl | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/grid.jl b/src/grid.jl | |
t@@ -566,7 +566,7 @@ function findEmptyPositionInGridCell(simulation::Simulatio… | |
continue | |
elseif j == 1 && pos[2] - r < grid.yq[1,1] | |
continue | |
- elseif j == nx && pos[2] + r > grid.yq[end,end] | |
+ elseif j == ny && pos[2] + r > grid.yq[end,end] | |
continue | |
end | |