Hello, I discovered the horror below. Do we really want silent data type casting in this case?
from numpy import * x = array([0]) x[0] = 1.7 # Silent data type casting print(x) # Prints [1] instead of [1.7] Olivier _______________________________________________ NumPy-Discussion mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/numpy-discussion.python.org Member address: [email protected]
