Skip to content

Commit 02c9e4d

Browse files
committed
fix
1 parent 05c2089 commit 02c9e4d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

autoarray/structures/triangles/coordinate_array/jax_coordinate_array.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,14 @@ def for_indexes(self, indexes: np.ndarray) -> "CoordinateArrayTriangles":
225225
mask = indexes == -1
226226
safe_indexes = np.where(mask, 0, indexes)
227227
coordinates = np.take(self.coordinates, safe_indexes, axis=0)
228-
# coordinates = np.where(mask[:, None], np.nan, coordinates)
228+
coordinates = np.where(mask[:, None], np.nan, coordinates)
229229

230230
return CoordinateArrayTriangles(
231231
coordinates=coordinates,
232232
side_length=self.side_length,
233233
y_offset=self.y_offset,
234234
x_offset=self.x_offset,
235235
flipped=self.flipped,
236-
mask=mask,
237236
)
238237

239238
def containing_indices(self, shape: np.ndarray) -> np.ndarray:

0 commit comments

Comments
 (0)