josef.p...@gmail.com wrote:

> On Wed, Jul 1, 2015 at 10:32 AM, Sebastian Berg
> <sebast...@sipsolutions.net> wrote:
> 
>> On Mi, 2015-07-01 at 10:05 -0400, josef.p...@gmail.com wrote:
>> > About the deprecation warning for using another type than integers, in
>> > ones, reshape, indexing and so on:
>> >
>> >
>> > Wouldn't it be nicer to accept floats that are equal to an integer?
>> >
>>
I'd be concerned that checking each index for exactness would be costly.
I'm also concerned that using floats for an index is frequently a mistake 
and that a warning is what I want.

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to