Closed pc494 closed 6 years ago
in expt_utils you're currently doing:
r = (r+0.5).astype(np.int)
seems much cleaner to use:
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.rint.html
with correct dtype.
Closed by pyxem commit bc707a3
in expt_utils you're currently doing:
r = (r+0.5).astype(np.int)
seems much cleaner to use:
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.rint.html
with correct dtype.