-
Notifications
You must be signed in to change notification settings - Fork 16
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
TST+FIX: LTA conversions #36
Conversation
I think it won't change your tests, but I think this line has source and destination swapped: That line would work okay if
Then, R = inv(Adst) . V . Asrc. So, if we want to extract V from R, we need to multiply the inverses of each side: M = dst.as_affine().dot(xform['m_L'].dot(np.linalg.inv(src.as_affine()))) |
yeah, i was just looking at how LTA convert implements and you got it Even changing the algorithm, I'm still not sure why it is not working in my example... |
Can you update the line with my suggestion? |
Okay - I decided to use the
|
Codecov Report
@@ Coverage Diff @@
## master #36 +/- ##
==========================================
+ Coverage 91.92% 94.08% +2.15%
==========================================
Files 8 8
Lines 570 575 +5
Branches 75 77 +2
==========================================
+ Hits 524 541 +17
+ Misses 30 18 -12
Partials 16 16
Continue to review full report at Codecov.
|
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.
Left a few comments, but this is looking great. Thanks a lot!
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.
Only one minor nitpick
No description provided.