Image-Py / imagepy

Image process framework based on plugin like imagej, it is esay to glue with scipy.ndimage, scikit-image, opencv, simpleitk, mayavi...and any libraries based on numpy
http://imagepy.org
BSD 4-Clause "Original" or "Old" License
1.29k stars 330 forks source link

Fix: linspace accepts integer divisions only + undefined variable bug #94

Open CsatiZoltan opened 4 years ago

CsatiZoltan commented 4 years ago

I checked all the occurences of linspace using

grep -rn "linspace" ./

from the main directory of ImagePy. In all the cases when the third argument of linspace was float, I probed the given method in debugging mode and they indeed failed. After these corrections, the linspace issue is solved.


The other change is for an undefined variable.