Permalink
Browse files

fix nx/ny again (values were reversed)

  • Loading branch information...
jacob1 committed Apr 26, 2014
1 parent df1aac8 commit 462bb78f3d9e0b764e385dadb3ee49b2cdca2a60
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/simulation/Simulation.cpp
@@ -4534,8 +4534,8 @@ void Simulation::update_particles_i(int start, int inc)
// clear_xf, clear_yf is the last known position that the particle should almost certainly be able to move to
nxf = clear_xf;
nyf = clear_yf;
nx = clear_y;
ny = clear_x;
nx = clear_x;
ny = clear_y;
// Look for spaces to move horizontally (perpendicular to gravity direction), keep going until a space is found or the number of positions examined = rt
for (j=0;j<rt;j++)
{

0 comments on commit 462bb78

Please sign in to comment.