On 24/12/13 16:39, H. S. Teoh wrote:
This code is wrong for iota(1.0, 9.5), because .back must be of the form
start + n*step for some integer n, but in this case end is not an
integral multiple of step away from start. (It's not only wrong for
.back, it also won't terminate because start==end will never hold.)

I don't see the reason why there needs to be a start == end condition -- surely start >= end will suffice?

Reply via email to