Re: [Numpy-discussion] Added atleast_nd, request for clarification/cleanup of atleast_3d

2016-07-07 Thread Joseph Fox-Rabinovitz
On Thu, Jul 7, 2016 at 4:34 AM, Sebastian Berg wrote: > On Mi, 2016-07-06 at 15:30 -0400, Benjamin Root wrote: >> I don't see how one could define a spec that would take an arbitrary >> array of indices at which to place new dimensions. By definition, you >> > > You

Re: [Numpy-discussion] Added atleast_nd, request for clarification/cleanup of atleast_3d

2016-07-07 Thread Sebastian Berg
On Mi, 2016-07-06 at 15:30 -0400, Benjamin Root wrote: > I don't see how one could define a spec that would take an arbitrary > array of indices at which to place new dimensions. By definition, you > You just give a reordered range, so that (1, 0, 2) would be the current 3D version. If 1D, fill

Re: [Numpy-discussion] Remove FCompiler flags?

2016-07-07 Thread Ralf Gommers
On Thu, Jul 7, 2016 at 12:43 AM, Rob Nagler wrote: > I would like to remove "-fno-second-underscore" and "-Wall" from the > fcompiler. I had hacked a build_clib subclass to remove the flags > dynamically, but that is fragile (and is now broken). Is there a right way > to

Re: [Numpy-discussion] Remove FCompiler flags?

2016-07-07 Thread Rob Nagler
Yes, that's what I ended up doing. For the curious, here's the code: https://github.com/robnagler/shadow3/blob/5a2676b8d20156e33603b898d7a4d690c4511619/setup.py#L21 Rob ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org