-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
LinearAlgebra.givens with unitful arguments #36430
Conversation
Thanks! Would be great to add the example from the issue as a test. |
The example is from external package |
Right. Sometimes we'll mock up very minimal types for this kind of testing. Not sure if we have one already... |
I did not find one. Will make a minimal type similar to |
This seems pretty simple, but it would be good if someone who actually knows what a Givens rotation is took a look. @andreasnoack, could you review? |
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.
LGTM, except for one minor style comment.
Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de>
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.
There is some nasty method ambiguity error, so this cannot be merged as is, unfortunately. It's a strange error, because it seems to relate to multiplication methods defined in the tests, not in the code. Would it be possible to reformulate the MockUnitful tests in terms of Furlongs?
Unfortunately not, because The fix assumes, that The detected ambiguities are an insane interaction of |
Arguably this was a bug in the |
Solves #36429