BUG: no implicit casting

On some versions of numpy, implicit cast raises an error:

TypeError: Cannot cast array data from dtype('uint64') to dtype('int64')
according to the rule 'safe'