Skip to content

Commit 9f01be2

Browse files
Rectify type-hints for set_data
1 parent a86fe7c commit 9f01be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ def set_initval(self, rv_var, initval):
11551155
def set_data(
11561156
self,
11571157
name: str,
1158-
values: Dict[str, Optional[Sequence]],
1158+
values: Union[Sequence, np.ndarray],
11591159
coords: Optional[Dict[str, Sequence]] = None,
11601160
):
11611161
"""Changes the values of a data variable in the model.

0 commit comments

Comments
 (0)