Re: [Numpy-discussion] assert and allclose

2011-04-24 Thread Ralf Gommers
On Mon, Apr 18, 2011 at 5:59 AM, wrote: > Some observations about allclose > > I have a test case where I would like to impose absolute > (logical_)and relative errors > > (Pdb) pdf_r > array([  2.97341655e-90,   3.68756271e-24,   2.01840159e-07, >         3.98942280e-01,   4.83941449e-01,   1.07

[Numpy-discussion] assert and allclose

2011-04-17 Thread josef . pktd
Some observations about allclose I have a test case where I would like to impose absolute (logical_)and relative errors (Pdb) pdf_r array([ 2.97341655e-90, 3.68756271e-24, 2.01840159e-07, 3.98942280e-01, 4.83941449e-01, 1.07981933e-01]) (Pdb) pdf_st array([ 3.09721604e-90, 3.