[Numpy-discussion] deprecations for 1.6; assert_almost_equal
Wed Mar 9 05:21:26 CST 2011
On Mon, Mar 7, 2011 at 7:53 PM, Pauli Virtanen <firstname.lastname@example.org> wrote:
> Mon, 07 Mar 2011 06:39:20 -0500, josef.pktd wrote:
Doc update committed in f527b49a.
>> Why does assert_allclose have atol=0, while np.allclose has rtol=1.e-5,
>> atol=1.e-8 ?
> Probably no reason, it should be fixed.
I'm guessing that whoever wrote assert_allclose wanted only relative
tolerance by default, which makes sense to me - it's a little easier
to use than "atol + rtol * desired". But either way is fine with me.
More information about the NumPy-Discussion