Skip to content

Commit 9807297

Browse files
authored
Update WishartCholesky.infer_shapes typing (#2059)
1 parent e296c6a commit 9807297

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

numpyro/distributions/continuous.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3226,9 +3226,9 @@ def variance(self) -> ArrayLike:
32263226
@staticmethod
32273227
def infer_shapes(
32283228
concentration: tuple[int, ...] = (),
3229-
scale_matrix: Optional[Array] = None,
3230-
rate_matrix: Optional[Array] = None,
3231-
scale_tril: Optional[Array] = None,
3229+
scale_matrix: Optional[tuple[int, ...]] = None,
3230+
rate_matrix: Optional[tuple[int, ...]] = None,
3231+
scale_tril: Optional[tuple[int, ...]] = None,
32323232
):
32333233
assert_one_of(
32343234
scale_matrix=scale_matrix,

0 commit comments

Comments
 (0)