Skip to content

Commit 1f7d131

Browse files
committed
fix bug in torch crps estimator test
1 parent f127713 commit 1f7d131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scoringrules/backend/torch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,4 @@ def indices(self, dimensions: tuple) -> "Tensor":
288288
return indices
289289

290290
def roll(self, x: "Tensor", shift: int = 1, axis: int = -1) -> "Tensor":
291-
return torch.roll(x, shift=shift, dims=axis)
291+
return torch.roll(x, shifts=shift, dims=axis)

0 commit comments

Comments
 (0)