Re: [Numpy-discussion] Why does np.repeat build a full array?

2015-12-15 Thread Juan Nunez-Iglesias
On Tue, Dec 15, 2015 at 8:29 PM, Sebastian Berg wrote: > Actually, your particular use-case is covered by the new `broadcast_to` > function. > So it is! Fascinating, thanks for pointing that out! =) ___ NumPy-Discussion mailing list NumPy-Discussion@sc

Re: [Numpy-discussion] Build broken

2015-12-15 Thread Charles R Harris
On Mon, Dec 14, 2015 at 11:25 PM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > Hi, > > Travis is repeatedly being unable to complete one of our test builds. It > all started after I merged a very simple PR that changed a single word in a > docstring, so I have a hard time believing tha

Re: [Numpy-discussion] Question about nump.ma.polyfit

2015-12-15 Thread Eric Firing
On 2015/12/14 6:39 PM, Samuel Dupree wrote: I'm running Python 2.7.11 from the Anaconda distribution (version 2.4.1) on a MacBook Pro running Mac OS X version 10.11.2 (El Capitan) I'm attempting to use numpy.ma.polyfit to perform a linear least square fit on some data I have. I'm running NumPy v

Re: [Numpy-discussion] Build broken

2015-12-15 Thread Charles R Harris
On Tue, Dec 15, 2015 at 2:50 AM, Daπid wrote: > > On 15 December 2015 at 07:25, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> Can anyone who actually knows what Travis is doing take a look at the log: >> >> https://travis-ci.org/numpy/numpy/builds/96836128 >> > > I don't claim to

[Numpy-discussion] cross platform build issue: powerpc-e500v2-linux-gnuspe-gcc: error: unrecognized argument in option '-mtune=generic'

2015-12-15 Thread jo
Hi I am trying to do a cross platform build of numpy (host=x86 target=ppc). This worked for python compiler itself but for numpy I run into following problem. It does select the correct compiler but the options are not correct. please advise...  numpy-1.10.2rc2]$ CC=powerpc-e500v2-linux-gnusp

Re: [Numpy-discussion] Build broken

2015-12-15 Thread Daπid
On 15 December 2015 at 07:25, Jaime Fernández del Río wrote: > Can anyone who actually knows what Travis is doing take a look at the log: > > https://travis-ci.org/numpy/numpy/builds/96836128 > I don't claim to understand what is happening there, but I believe the function setup_chroot is missin

Re: [Numpy-discussion] Build broken

2015-12-15 Thread Jerome Kieffer
Hi, I noticed the same kind of glitches for my project "pyFAI". It seems some Travis VM are bugged. Cheers, Jerome ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Why does np.repeat build a full array?

2015-12-15 Thread Sebastian Berg
On Di, 2015-12-15 at 08:56 +0100, Sebastian Berg wrote: > On Di, 2015-12-15 at 17:49 +1100, Juan Nunez-Iglesias wrote: > > Hi, > > > > > > I've recently been using the following pattern to create arrays of a > > specific repeating value: > > > > > > from numpy.lib.stride_tricks import as_stride