New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

local variable 'ftmp' referenced before assignment #449

Closed
matthew-brett opened this Issue Oct 26, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@matthew-brett
Member

matthew-brett commented Oct 26, 2014

I'm getting this warning at build time :

warning: dipy\tracking\propspeed.pyx:403:20: local variable 'ftmp' referenced before assignment

Sure enough, ftmp does seem to be referenced before assignment;

          #ftmp=floor(tmp+.5)
            if ftmp > qa_shape[i]-1 or tmp < 0.:
                 d=0
                 break

I guess this is a bug?

@arokem

This comment has been minimized.

Member

arokem commented Jan 4, 2015

Closed through #534

@arokem arokem closed this Jan 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment