Skip to content

Commit

Permalink
Fix dtype.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Jan 26, 2024
1 parent 9202110 commit 34cb6e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dcor/tests/test_dcor.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,8 +517,8 @@ def test_integer_overflow(self) -> None:
n_samples = 10000

# some simple data
arr1 = np.array([1, 2, 3] * n_samples)
arr2 = np.array([10, 20, 5] * n_samples)
arr1 = np.array([1, 2, 3] * n_samples, dtype=np.int32)
arr2 = np.array([10, 20, 5] * n_samples, dtype=np.int32)

int_int = dcor.distance_correlation(
arr1,
Expand Down

0 comments on commit 34cb6e0

Please sign in to comment.