Original ticket http://projects.scipy.org/numpy/ticket/764 on 2008-04-29 by @charris, assigned to unknown.
In : float32(array([]))
Out: array([[ 1.]], dtype=float32)
In : float64(array([]))
In : int64(array([]))
Out: array([], dtype=int64)
In : int32(array([]))
In : float64([])
Out: array([[ 1.]])
In : int32([])
@charris wrote on 2008-05-08
I'm leaving this to Travis, as the problem seems to be different behavior for those numpy types that are also python types when the input is an array. I don't know which routines are relevant to the error, but I suspect Travis does, and the fix should be easy.
Milestone changed to 1.2.0 by @charris on 2008-05-20
@cournape wrote on 2009-03-02
I think that it is actually not fixable ? I remember we had some discussion about this point for formatting problems, and that we can't control everything to make np.double (which inherit from python type) and np.float32 completely the "same" for some features.
Maybe someone more knowledgeable could confirm ?
Milestone changed to 1.4.0 by @cournape on 2009-03-11
@mwiebe wrote on 2011-03-23
I think most of these cases should be raising errors.
Milestone changed to Unscheduled by @mwiebe on 2011-03-23