-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
BUG: permissive cosine computation from non-orthogonal sform had reve… #4847
BUG: permissive cosine computation from non-orthogonal sform had reve… #4847
Conversation
I will see if I can modify the existing tests to catch this |
Computation from non-orthogonal sform had reversed SVD components U and V were reversed in the reconstruction of M, according to definitions here https://vxl.github.io/doc/release/core/vnl/html/classvnl__svd.html
2e40635
to
c42f500
Compare
oops, looks like my typo |
Catches direction flip introduced by earlier SVD bug
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.
Thanks for doing this @cookpa 💯.
An inline comment.
/azp run ITK.macOS.Python |
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.
Is this ready for merging?
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.
@cookpa well done!
…rsed SVD components
U and V were reversed in the reconstruction of M, according to definitions here
https://vxl.github.io/doc/release/core/vnl/html/classvnl__svd.html
As discussed in #4839
cc: @vfonov @hjmjohnson
PR Checklist
Refer to the ITK Software Guide for
further development details if necessary.