Commit dd60b895 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'gizmo-small-bugfix' into 'master'

small particle index bugfix

See merge request !1042
parents 1d3dc690 fa9d8993
......@@ -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