Type error: 'float' object cannot be interpreted as an index
wrightwoldscientific opened this issue · comments
python2.7 dewarp.py
BUILDING MAP!
ERROR:
Traceback (most recent call last):
File "dewarp.py", line 78, in
xmap,ymap = buildMap(Ws,Hs,Wd,Hd,R1,R2,Cx,Cy)
File "dewarp.py", line 20, in buildMap
map_x = int(np.zeros((Hd,Wd),np.float32))
TypeError: 'float' object cannot be interpreted as an index
I have this issue too!!!