tfix variable name - Granular.jl - Julia package for granular dynamics simulation
(HTM) git clone git://src.adamsgaard.dk/Granular.jl
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 4148921ec0aeb783a3cb3b7a3432918434e57101
(DIR) parent 66c6d64d02ab1b6e1126f8533382f22e96ac3b85
(HTM) Author: Anders Damsgaard <andersd@riseup.net>
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(-)
---
(DIR) diff --git a/src/grid.jl b/src/grid.jl
t@@ -566,7 +566,7 @@ function findEmptyPositionInGridCell(simulation::Simulation,
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