Skip to content

Commit

Permalink
Update src/stream_mapper/core/_core/base.py
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Starkman <[email protected]>
  • Loading branch information
nstarman authored Feb 6, 2024
1 parent 3b22b02 commit 81233f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stream_mapper/core/_core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def _ln_prior_coord_bnds(self, data: Data[Array], /) -> Array:

where = reduce(
self.xp.logical_or,
(~within_bounds(data[k], a[:, 0], b[:, 0]) for k, (a, b) in kab),
(~within_bounds(data[k], a, b) for k, (a, b) in kab),
self.xp.zeros(shape, dtype=bool),
)
return self.xp.where(
Expand Down

0 comments on commit 81233f6

Please sign in to comment.