Skip to content

Commit

Permalink
Nit fix for mypy issue (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
tushuhei authored Nov 8, 2022
1 parent 44ae935 commit 359ea0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def fit(X_train: npt.NDArray[np.bool_],
X_test = device_put(X_test)
Y_test = device_put(Y_test)
N_train, M_train = X_train.shape
w = jnp.ones(N_train) / N_train # type: ignore
w = jnp.ones(N_train) / N_train
YX_train = Y_train[:, None] ^ X_train
for t in range(iters):
print('=== %s ===' % (t))
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev =
html5lib
isort
numpy
mypy
mypy==0.971
pytest
toml
twine
Expand Down

0 comments on commit 359ea0f

Please sign in to comment.