Skip to content

Commit

Permalink
use d1 and d2 when calculating the weh_arr for nss
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarmot authored and rbeyer committed Apr 13, 2024
1 parent f27fdf7 commit 9503356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vipersci/nss.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def __call__(
np.column_stack((d1.compressed(), d2.compressed()))
)
weh_arr[~d1.mask] = self.det2_model(
np.column_stack((d2.compressed(), d2.compressed()))
np.column_stack((d1.compressed(), d2.compressed()))
)
uweh_arr = uniform_weh(
d1.filled(self.fill_value), fill_value=self.fill_value, bounds_error=False
Expand Down

0 comments on commit 9503356

Please sign in to comment.