fix indexing bug

This commit is contained in:
rstiskalek 2023-04-27 09:21:00 +01:00
parent f48eb6dcb0
commit b0752efdf4

View File

@ -126,7 +126,7 @@ for i, nsim in enumerate(nsims):
_out["r"] = r[mask]
_out["M"] = obj["M"][mask]
out[str(clumps_cat["index"][i])] = _out
out[str(clumps_cat["index"][j])] = _out
# Finished, so we save everything.
fout = paths.radpos_path(nsnap, nsim)