boolean subtract DeprecationWarning
maybe you should do:
x=x.astype(numpy.float32)
y=y.astype(numpy.float32)
then
x - y
at least, it works on my case.
Here my solution:
z = (x.astype(np.float32) - y.astype(np.float32)).astype(np.bool)
maybe you should do:
x=x.astype(numpy.float32)
y=y.astype(numpy.float32)
then
x - y
at least, it works on my case.
Here my solution:
z = (x.astype(np.float32) - y.astype(np.float32)).astype(np.bool)