Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/nose/case.py", line 198, in runTest

self.test(*self.arg)


 "/home/bernard/Downloads/cudamat/test/test_cudamat.py", line 1204, in test_correlate

for h in range(-(km/2), km/2 + 1):
TypeError: 'float' object cannot be interpreted as an integer

Traceback (most recent call last):


 "test.py", line 5, in <module>

print(cp.result_type(a,a))


 "/home/wtli/.conda/envs/cp/lib/python3.6/site-packages/numpy/core/overrides.py", line 165, in public_api

implementation, public_api, relevant_args, args, kwargs)
TypeError: no implementation found for 'numpy.result_type' on types that implement __array_function__: [<class 'cupy.core.core.ndarray'>]
