-
Notifications
You must be signed in to change notification settings - Fork 437
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
Fix diffeomorphic registration test failures #489
Conversation
@@ -1452,8 +1452,11 @@ def _iterate(self): | |||
#set zero displacements at the boundary | |||
fw_step[0, ...] = 0 | |||
fw_step[:, 0, ...] = 0 | |||
fw_step[-1, ...] = 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to set to zero all the boundaries. I missed the other side!
Hi @omarocegueda this is really great work that you did here with the SSE and the boundary interpolation. Great also to be able know compiler options both from cython and python. This is a game changer for Dipy. Please correct the minor pep8 issues and will go ahead and merge your PR. Thx brother!!! This is really cool! |
Thank you Elef!, |
Write the discovered compile-time variables into a file ``dipy/__config__.py`` so dipy code can act depending on the result of the compile - for example compile-time presence of openmp.
…t is generated before it is moved to the module install directory
6c199e6
to
24dc623
Compare
Rebased =) |
Travis happy, let's hear the bots! Thx man! |
Fix diffeomorphic registration test failures
This PR fixes issue #464. This issue was caused by differences in floating-point operations when using double precision (64 bits), extended precision (80 bits) or a combination of both, whcih depends on the platform, compiler and compilation options used.
In summary, these are the proposals implemented in this PR: