On Mon, Mar 7, 2011 at 7:53 PM, Pauli Virtanen <p...@iki.fi> 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.

Cheers,
Ralf
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to