Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasloveday committed Sep 12, 2024
1 parent cbb8899 commit 730e9a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/scores/probability/crps_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,6 @@ def interval_tw_crps_for_ensemble(
raise ValueError("`lower_threshold` must be less than `upper_threshold`")

def _vfunc(x, lower_threshold=lower_threshold, upper_threshold=upper_threshold):

return np.minimum(np.maximum(x, lower_threshold), upper_threshold)

result = tw_crps_for_ensemble(
Expand Down

0 comments on commit 730e9a7

Please sign in to comment.