3 ms·
The problem with changing it in the library is that you'd also have to change it everywhere arrays are used in Julia itself. The only way I could think to mana
by wbhart 15y ago
The problem with changing it in the library is that you'd also have to change it everywhere arrays are used in Julia itself.
The only way I could think to manage it would be a pragma which switches 0-based on for a given file. But this is doubtlessly not trivial.
Or there is the less elegant option of introducing a new operator for 0-based arrays. But this is liable to cause confusion I think.