-
Notifications
You must be signed in to change notification settings - Fork 56
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
Some issues with allocation on complex manifolds #677
Conversation
Codecov Report
@@ Coverage Diff @@
## master #677 +/- ##
=======================================
Coverage 99.57% 99.57%
=======================================
Files 108 108
Lines 10675 10678 +3
=======================================
+ Hits 10630 10633 +3
Misses 45 45
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
Ah, maybe check for code coverage as well (but it seems to still be running?) |
Coverage is fine now, the only issue is the randomly failing integration test but there I just hope it will resolve itself. |
I will also take a look at other complex Lie groups before merging this PR. |
While you are in this area, I've had issues with the unit quaternion group as well. It may have been finger trouble, but couldn’t get a lot of the functionality to work. For example get_coordinates and get_vector. We are using SO3 so not a blocker. |
What exactly doesn't work with unit quaternions? julia> using Manifolds
julia> using Quaternions
julia> p = QuaternionF64(
0.4815296357756736,
0.6041613272484806,
-0.2322369798903669,
0.5909181717450419,
)
QuaternionF64(0.4815296357756736, 0.6041613272484806, -0.2322369798903669, 0.5909181717450419)
julia> get_coordinates(G, p, QuaternionF64(0, 1, 2, 3), DefaultOrthonormalBasis(ℍ))
3-element StaticArraysCore.SVector{3, Float64} with indices SOneTo(3):
1.0
2.0
3.0 Note |
I've taken a look at other groups and they don't seem to have similar issues. I've just made some cleanup while reading the code and exported |
Thanks, so it was my mistake then. I missed the |
Are you maybe accidentially entering this with integer numbers instead of floats? |
The problem with vee(M::AbstractManifold, p, X) = get_coordinates(M, p, X, VeeOrthogonalBasis()) to vee(M::AbstractManifold, p, X) = get_coordinates(M, p, X, VeeOrthogonalBasis(number_system(M)) ? |
I would even consider that a bug fix. |
Cool, I will make another PR then. |
This should fix #668 . Now we have: