Closed
Description
I'm not sure if it's a bug or intended behavior, but may it make sense to obtain the same result in the two following linspace examples?
Python 2.7.9 (default, Mar 1 2015, 12:57:24)
[GCC 4.9.2] on linux2
>>> import numpy
>>> numpy.version.version
'1.12.0.dev0+bd905a8'
>>> numpy.linspace(2.0, 3.0, num=5)
array([ 2. , 2.25, 2.5 , 2.75, 3. ])
>>> numpy.linspace(2.0, 3.0, 0.25)
array([], dtype=float64)
Metadata
Metadata
Assignees
Labels
No labels