Skip to content

Commit cad9701

Browse files
authored
Merge pull request #7 from ekomarova/transition-to-scikit-build
Convert the generated integer to numpy.int64 using type
2 parents 41eec52 + 372bf68 commit cad9701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mkl_umath/tests/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_args(args_str):
4444
elif s == 'i':
4545
args.append(np.int_(np.random.randint(low=1, high=10)))
4646
elif s == 'l':
47-
args.append(np.longlong(np.random.randint(low=1, high=10)))
47+
args.append(np.dtype('long').type(np.random.randint(low=1, high=10)))
4848
else:
4949
raise ValueError("Unexpected type specified!")
5050
return tuple(args)

0 commit comments

Comments
 (0)