mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2025-01-30 21:41:36 +00:00
fix indexing bug
This commit is contained in:
parent
f48eb6dcb0
commit
b0752efdf4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue