Skip to content

Commit 6f6b416

Browse files
committed
fix non-optional argument set as optional
1 parent 50123a1 commit 6f6b416

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pymc/distributions/discrete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -920,9 +920,9 @@ class HyperGeometric(Discrete):
920920
@classmethod
921921
def dist(
922922
cls,
923-
N: Optional[DISCRETE_DIST_PARAMETER_TYPES],
924-
k: Optional[DISCRETE_DIST_PARAMETER_TYPES],
925-
n: Optional[DISCRETE_DIST_PARAMETER_TYPES],
923+
N: DISCRETE_DIST_PARAMETER_TYPES,
924+
k: DISCRETE_DIST_PARAMETER_TYPES,
925+
n: DISCRETE_DIST_PARAMETER_TYPES,
926926
*args,
927927
**kwargs,
928928
):

0 commit comments

Comments
 (0)