Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-15 Thread Mark Wiebe
On Tue, Jun 7, 2011 at 2:08 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Tue, Jun 7, 2011 at 8:59 PM, Mark Wiebe mwwi...@gmail.com wrote: On Tue, Jun 7, 2011 at 1:41 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Mon, Jun 6, 2011 at 6:56 PM, Mark Wiebe mwwi...@gmail.com

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-07 Thread Ralf Gommers
On Mon, Jun 6, 2011 at 6:56 PM, Mark Wiebe mwwi...@gmail.com wrote: On Mon, Jun 6, 2011 at 10:30 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Jun 5, 2011 at 3:43 PM, Ralf Gommers ralf.gomm...@googlemail.com wrote: On Thu, Jun 2, 2011 at 10:12 PM, Mark Wiebe mwwi...@gmail.com wrote: On

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-07 Thread Mark Wiebe
On Tue, Jun 7, 2011 at 1:41 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Mon, Jun 6, 2011 at 6:56 PM, Mark Wiebe mwwi...@gmail.com wrote: On Mon, Jun 6, 2011 at 10:30 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Jun 5, 2011 at 3:43 PM, Ralf Gommers ralf.gomm...@googlemail.com

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-07 Thread Ralf Gommers
On Tue, Jun 7, 2011 at 8:59 PM, Mark Wiebe mwwi...@gmail.com wrote: On Tue, Jun 7, 2011 at 1:41 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Mon, Jun 6, 2011 at 6:56 PM, Mark Wiebe mwwi...@gmail.com wrote: On Mon, Jun 6, 2011 at 10:30 AM, Mark Wiebe mwwi...@gmail.com wrote: On

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-06 Thread Mark Wiebe
On Sun, Jun 5, 2011 at 3:43 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Thu, Jun 2, 2011 at 10:12 PM, Mark Wiebe mwwi...@gmail.com wrote: On Thu, Jun 2, 2011 at 3:09 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Thu, Jun 02, 2011 at 03:06:58PM -0500, Mark Wiebe

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-06 Thread Mark Wiebe
On Mon, Jun 6, 2011 at 10:30 AM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Jun 5, 2011 at 3:43 PM, Ralf Gommers ralf.gomm...@googlemail.comwrote: On Thu, Jun 2, 2011 at 10:12 PM, Mark Wiebe mwwi...@gmail.com wrote: On Thu, Jun 2, 2011 at 3:09 PM, Gael Varoquaux

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-05 Thread Ralf Gommers
On Thu, Jun 2, 2011 at 10:12 PM, Mark Wiebe mwwi...@gmail.com wrote: On Thu, Jun 2, 2011 at 3:09 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Thu, Jun 02, 2011 at 03:06:58PM -0500, Mark Wiebe wrote: Would anyone object to, at least temporarily, tightening up the default

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-05 Thread Gael Varoquaux
On Sun, Jun 05, 2011 at 10:43:45PM +0200, Ralf Gommers wrote: four in scikit-learn (plus two that don't look related), Yeah, some of these failures are due to numerical unstabilities in tests (nasty ones, still fighting) and some simply to crappy code (HMMs are hopeless :( ). Now, with

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-05 Thread Charles R Harris
On Sun, Jun 5, 2011 at 3:15 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Sun, Jun 05, 2011 at 10:43:45PM +0200, Ralf Gommers wrote: four in scikit-learn (plus two that don't look related), Yeah, some of these failures are due to numerical unstabilities in tests (nasty

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-05 Thread Gael Varoquaux
On Sun, Jun 05, 2011 at 04:41:26PM -0600, Charles R Harris wrote: Now, with regards to the actual failures induced by the new branch, it took me a while to understand why they where happening, and now I realise that we probably should have explicit coercions at these

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-05 Thread josef . pktd
On Sun, Jun 5, 2011 at 6:51 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Sun, Jun 05, 2011 at 04:41:26PM -0600, Charles R Harris wrote:      Now, with regards to the actual failures induced by the new      branch, it took me a while to understand why they where happening,      

[Numpy-discussion] tighten up ufunc casting rule

2011-06-02 Thread Mark Wiebe
Would anyone object to, at least temporarily, tightening up the default ufunc casting rule to 'same_kind' in NumPy master? It's a one line change, so would be easy to undo, but such a change is very desirable in my opinion. This would raise an exception, since it's np.add(a, 1.9, out=a),

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-02 Thread Gael Varoquaux
On Thu, Jun 02, 2011 at 03:06:58PM -0500, Mark Wiebe wrote: Would anyone object to, at least temporarily, tightening up the default ufunc casting rule to 'same_kind' in NumPy master? It's a one line change, so would be easy to undo, but such a change is very desirable in my

Re: [Numpy-discussion] tighten up ufunc casting rule

2011-06-02 Thread Mark Wiebe
On Thu, Jun 2, 2011 at 3:09 PM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Thu, Jun 02, 2011 at 03:06:58PM -0500, Mark Wiebe wrote: Would anyone object to, at least temporarily, tightening up the default ufunc casting rule to 'same_kind' in NumPy master? It's a one line