
Dec. 19, 2018
1:50 p.m.
On Wed, 19 Dec 2018 09:47:01 -0800, Stephan Hoyer wrote:
Example behavior:
x = np.array([1, 2, 3]) y = np.array([1, 2, 3.0001]) np.testing.assert_allclose(x, y) AssertionError: Not equal to tolerance rtol=1e-07, atol=0
(mismatch 33.333333333333336%, maximum difference 0.00010000000000021103)
This is a helpful addition; thank you! I don't have a strong preference around whether to also include rtol. Stéfan