Skip to content

Commit

Permalink
Type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
lbittarello committed Feb 3, 2025
1 parent e79e052 commit 5b0816b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabmat/categorical_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def matvec(
is_int = np.issubdtype(other.dtype, np.signedinteger)

if is_int:
other_m = other.astype(float)
other_m = other.astype(float) # type: ignore
else:
other_m = other

Expand Down

0 comments on commit 5b0816b

Please sign in to comment.