Closed kiyou closed 3 years ago
Use np.close(r, np.round(r), atol=tol) instead of abs(r - np.round(r)) < tol for fixing #5.
np.close(r, np.round(r), atol=tol)
abs(r - np.round(r)) < tol
Use
np.close(r, np.round(r), atol=tol)
instead ofabs(r - np.round(r)) < tol
for fixing #5.