Say A is an Array, like A = [1 2 3 4], and I index it with an empty vector.

In Julia v.0.3, A[[]] is empty. I find this convenient when programming.

In Julia v.0.4, A[[]] throws an error.

Is this intended? It sometimes forces me to code if isempty()... else...

My version is 0.4.0-dev+5841 (2015-07-07 14:58 UTC), Commit f428392* (10 
days old master), x86_64-w64-mingw32.

Thank you.

Reply via email to