On Fri, Oct 14, 2016 at 8:17 PM, Páll Haraldsson
wrote:
>
> Nobody makes a one element linspace intentionally, but would it be bad to
> allow it?
>
Yes, it's better to raise an error when asked to do something that makes no
sense than to do some arbitrary wrong thing.
2016-10-14 22:58 GMT+00:00 Stefan Karpinski :
> I'll answer your question with a riddle: How can you have a length-one
> collection whose first and last value are different?
>
I know that; yes, it's a degenerate case, and as I said "may not matter too
much"
[Nobody makes a
I'll answer your question with a riddle: How can you have a length-one
collection whose first and last value are different?
On Fri, Oct 14, 2016 at 6:25 PM, Páll Haraldsson
wrote:
>
> I mistook third param for step, and got confusing error:
>
>
> julia> linspace(1, 2,