Repository navigation
Commit a7e3591
Fix unbound particle masking in haloquantity lookup and support 2D halo quantities (#233)
The unbound particle check in get_haloquantity_daskwrap compared against -1,
but get_hidx marks unbound particles with index_unbound (int64 max by default).
This caused unbound particles to be incorrectly looked up. Also adds support
for 2D halo quantities (e.g. positions/velocities) via drop_axis/new_axis.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent d398ccd commit a7e3591
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
1112 | | - | |
1113 | | - | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
1114 | 1116 | | |
1115 | | - | |
| 1117 | + | |
1116 | 1118 | | |
1117 | 1119 | | |
1118 | 1120 | | |
| |||
1134 | 1136 | | |
1135 | 1137 | | |
1136 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
1137 | 1143 | | |
1138 | 1144 | | |
1139 | 1145 | | |
1140 | 1146 | | |
1141 | 1147 | | |
1142 | | - | |
| 1148 | + | |
1143 | 1149 | | |
| 1150 | + | |
1144 | 1151 | | |
1145 | 1152 | | |
1146 | 1153 | | |
| |||
0 commit comments