Hi,

Am I wrong or the numpy.arange() function is not correct 100%?

Try to do this:

In [7]: len(np.arange(3.1, 4.9, 0.1))
Out[7]: 18

In [8]: len(np.arange(8.1, 9.9, 0.1))
Out[8]: 19

I would expect the same result for each command.

All the best


-- 
View this message in context: 
http://old.nabble.com/numpy.arange%28%29-error--tp33277269p33277269.html
Sent from the Numpy-discussion mailing list archive at Nabble.com.

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to