Christoph,

As I said in another post, because Julia infers types, most of the time 
indexes will just automatically be integers.

It is only when the index is calculated from something, probably from some 
real value.  In that case it is important that the programmer actually 
understands what is going on and decides explicitly how to handle 
non-integer indexes, and I understand in uses like statistics you have to 
be careful not to bias results with how you round things.

Cheers
Lex

On Monday, March 16, 2015 at 5:40:21 PM UTC+10, Christoph Ortner wrote:
>
> Lex, Stefan: Would it not be possible to  throw an exception when the 
> conversion is considered "unsafe"?
>

Reply via email to