Commit fa9d8993 authored by Mladen Ivkovic's avatar Mladen Ivkovic
Browse files

small particle index bugfix

parent 1d3dc690
......@@ -85,7 +85,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_density(
for (int l = 0; l < 3; l++)
pj->geometry.matrix_E[k][l] += dx[k] * dx[l] * wj;
hydro_velocities_update_centroid_right(pi, dx, wi);
hydro_velocities_update_centroid_right(pj, dx, wj);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment