Skip to content
Snippets Groups Projects
Commit fa9d8993 authored by Mladen Ivkovic's avatar Mladen Ivkovic
Browse files

small particle index bugfix

parent 1d3dc690
No related branches found
No related tags found
1 merge request!1042small particle index bugfix
......@@ -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);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment