Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
On Mon, Apr 14, 2014 at 5:01 PM, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 3:55 PM, Charles R Harris > wrote: >> >> >> >> On Mon, Apr 14, 2014 at 4:40 PM, Matthew Brett >> wrote: >>> >>> Hi, >>> >>> On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris >>> wrote: >>> > >>> > >>> > >>>

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 3:55 PM, Charles R Harris wrote: > > > > On Mon, Apr 14, 2014 at 4:40 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris >> wrote: >> > >> > >> > >> > On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett >> > wrote: >> >> >> >> Hi

Re: [Numpy-discussion] Writing successful tests

2014-04-14 Thread Matt Pagan
Robert Kern: > On Mon, Apr 14, 2014 at 5:26 AM, wrote: >> Greetings, >> >> I'm working on an additional function for numpy/lib/twodim_base.py. I'm >> trying to add some tests for the new function, and >> numpy/lib/tests/test_twodim_base.py seems like the right place for >> them. >> My problem is

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Charles R Harris
On Mon, Apr 14, 2014 at 4:40 PM, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris > wrote: > > > > > > > > On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett > > wrote: > >> > >> Hi, > >> > >> On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor > >> wrote: > >> > The offi

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 2:58 PM, Charles R Harris wrote: > > > > On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett > wrote: >> >> Hi, >> >> On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor >> wrote: >> > The official numpy mingw binaries do not have all these math issues. >> > Only the VC builds

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread David Cournapeau
On Mon, Apr 14, 2014 at 10:02 PM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > The official numpy mingw binaries do not have all these math issues. > Only the VC builds do. > As mingw is fine the functions must be somewhere in the windows API but > no-one has contributed a fix for the V

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Charles R Harris
On Mon, Apr 14, 2014 at 3:38 PM, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor > wrote: > > The official numpy mingw binaries do not have all these math issues. > > Only the VC builds do. > > As mingw is fine the functions must be somewhere in the windows API but >

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 2:02 PM, Julian Taylor wrote: > The official numpy mingw binaries do not have all these math issues. > Only the VC builds do. > As mingw is fine the functions must be somewhere in the windows API but > no-one has contributed a fix for the VC builds to numpy yet. I'm b

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Julian Taylor
The official numpy mingw binaries do not have all these math issues. Only the VC builds do. As mingw is fine the functions must be somewhere in the windows API but no-one has contributed a fix for the VC builds to numpy yet. On 14.04.2014 22:43, Carl Kleffner wrote: > Hi, > > mingw has expm1. Is

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Carl Kleffner
Hi, mingw has expm1. Is this function suitable? Regards Carl 2014-04-14 21:34 GMT+02:00 Eric Moore : > > > On Monday, April 14, 2014, Matthew Brett wrote: > >> Hi, >> >> On Mon, Apr 14, 2014 at 12:12 PM, Warren Weckesser >> wrote: >> > >> > On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett >

Re: [Numpy-discussion] assert_equal(-0.0, 0.0) fails.

2014-04-14 Thread Ralf Gommers
On Mon, Apr 14, 2014 at 1:09 PM, Warren Weckesser < warren.weckes...@gmail.com> wrote: > The test function numpy.testing.assert_equal fails when comparing -0.0 and > 0.0: > > In [16]: np.testing.assert_equal(-0.0, 0.0) > --- >

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Eric Moore
On Monday, April 14, 2014, Matthew Brett wrote: > Hi, > > On Mon, Apr 14, 2014 at 12:12 PM, Warren Weckesser > > wrote: > > > > On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett > > > > > > wrote: > >> > >> Hi, > >> > >> With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for > >> Windows

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, On Mon, Apr 14, 2014 at 12:12 PM, Warren Weckesser wrote: > > On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett > wrote: >> >> Hi, >> >> With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for >> Windows 64-bit, and latest stable ATLAS. >> >> It works fine, apart from the following tes

Re: [Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Warren Weckesser
On Mon, Apr 14, 2014 at 2:59 PM, Matthew Brett wrote: > Hi, > > With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for > Windows 64-bit, and latest stable ATLAS. > > It works fine, apart from the following test failure: > >

Re: [Numpy-discussion] Dates and times and Datetime64 (again)

2014-04-14 Thread Chris Barker
On Fri, Apr 11, 2014 at 4:58 PM, Stephan Hoyer wrote: > On Fri, Apr 11, 2014 at 3:56 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> Are we in a position to start looking at implementation? If so, it would >> be useful to have a collection of test cases, i.e., typical uses with >>

[Numpy-discussion] Test error with ATLAS, Windows 64 bit

2014-04-14 Thread Matthew Brett
Hi, With Carl Kleffner, I am trying to build a numpy 1.8.1 wheel for Windows 64-bit, and latest stable ATLAS. It works fine, apart from the following test failure: == FAIL: test_special (test_umath.TestExpm1) ---

Re: [Numpy-discussion] index partition

2014-04-14 Thread Alan G Isaac
On 4/12/2014 5:20 PM, Alexander Belopolsky wrote: > The "set routines" [1] are in this category and may help > you deal with partitions, but I would recommend using > boolean arrays instead. If you commonly deal with both > a subset and a complement, set representation does not > give you a memory

[Numpy-discussion] assert_equal(-0.0, 0.0) fails.

2014-04-14 Thread Warren Weckesser
The test function numpy.testing.assert_equal fails when comparing -0.0 and 0.0: In [16]: np.testing.assert_equal(-0.0, 0.0) --- AssertionErrorTraceback (most recent call last) in () > 1 np.test

Re: [Numpy-discussion] Writing successful tests

2014-04-14 Thread Robert Kern
On Mon, Apr 14, 2014 at 5:26 AM, wrote: > Greetings, > > I'm working on an additional function for numpy/lib/twodim_base.py. I'm > trying to add some tests for the new function, and > numpy/lib/tests/test_twodim_base.py seems like the right place for > them. > My problem is travis-ci tells me my