commit 4148921ec0aeb783a3cb3b7a3432918434e57101 parent 66c6d64d02ab1b6e1126f8533382f22e96ac3b85 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(-)
diff --git a/src/grid.jl b/src/grid.jl @@ -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