Skip to content

Commit

Permalink
Merge pull request #184 from decargroup/bugfix/183-type-conversion-er…
Browse files Browse the repository at this point in the history
…ror-in-randombinningkernelapprox

Fix int datatype
  • Loading branch information
Yanting000 authored Nov 20, 2024
2 parents 1ba2728 + ce68f52 commit 129254e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pykoop/kernel_approximation.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,6 @@ def _hash_samples(self, X: np.ndarray) -> np.ndarray:
hash(tuple(coords[sample, :, component].astype(int)))
for component in range(coords.shape[2])
] for sample in range(coords.shape[0])],
dtype=int,
dtype=np.int64,
)
return coords_hashed

0 comments on commit 129254e

Please sign in to comment.