Skip to content

Commit

Permalink
Specifying return type for TransitionSolver.predict()
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnapolitano committed Mar 19, 2024
1 parent 71f29c9 commit b5a2e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elexsolver/TransitionSolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def fit(self, X: np.ndarray, Y: np.ndarray, sample_weight: np.ndarray | None = N
"""
raise NotImplementedError

def predict(self, X: np.ndarray):
def predict(self, X: np.ndarray) -> np.ndarray:
"""
Parameters
----------
Expand Down

0 comments on commit b5a2e07

Please sign in to comment.