Skip to content

Commit

Permalink
Missed a few type hints in TransitionMatrixSolver constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnapolitano committed Jan 22, 2024
1 parent 9ec424e commit 1fc45b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elexsolver/TransitionMatrixSolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


class TransitionMatrixSolver(TransitionSolver):
def __init__(self, strict=True, lam=None):
def __init__(self, strict: bool = True, lam: float | None = None):
"""
`lam` > 0 will enable L2 regularization (Ridge).
"""
Expand Down

0 comments on commit 1fc45b8

Please sign in to comment.