The test failed because math.ldexp expect an int or long as second argument. Otherwise TypeError raised.

Change the line in test_math.py from
self.assert_(math.ldexp(a[i], a2[i]) == b[i])
to
self.assert_(math.ldexp(a[i], int(a2[i])) == b[i])
will get it passed.

PyCUDA: git version
Python: 2.6.1
_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to