A scalar is distinct from a vector so size(a) = () makes sense. getindex for a scalar does not make sense and should probably be removed on the grounds of mathematical elegance :) Any code that depends on referencing a scalar via an index is probably flawed in the first place.
- [julia-users] getindex for a real number Ehsan Eftekhari
- Re: [julia-users] getindex for a real number Mauro
- Re: [julia-users] getindex for a real number Ehsan Eftekhari
- Re: [julia-users] getindex for a real numbe... Mauro
- Re: [julia-users] getindex for a real n... Ehsan Eftekhari
- Re: [julia-users] getindex for a r... Eric Forgy
- Re: [julia-users] getindex for... Tim Holy
- Re: [julia-users] getindex... Eric Forgy
- Re: [julia-users] getindex... Tim Holy
- Re: [julia-users] getindex... Eric Forgy
- Re: [julia-users] getindex... Eric Forgy
- Re: [julia-users] getindex... Tim Holy
- Re: [julia-users] getindex... Seth
- Re: [julia-users] getindex... Tim Holy
- Re: [julia-users] getindex... Steven G. Johnson
- Re: [julia-users] getindex... Glen O
