-
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
Adapt Manifolds to new Decorator type #388
Conversation
The main rework is done, however there is more tests failing than I thought, so I might have missed something, hopefully just for the group manifold, since there we do not have explicit checks for transparency. |
The group manifold has some little strange transparency tests that I do not yet understand, maybe @sethaxen you wrote them? Manifolds.jl/test/groups/groups_general.jl Lines 33 to 41 in 8a5d654
Manifolds.jl/test/groups/groups_general.jl Lines 141 to 156 in 8a5d654
Edit: Since I seem to have last touched (git blame) the second part of lines, I might propose now to maybe delete those since I do not know what they are supposed to test. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
IIRC such tests are there to just notify that transparency changed. If the change is deliberate, you can adjust the test. If it's not, It'd be better to fix the code. |
The main problem is, that the two contradict, so with parameters is different form without, and I think that is not only strange but also that without parameters the testing is not even well defined nor useful? |
Ah, OK, so you can just remove these tests then I think. |
Hm, seems that I have introduced some side effects that I did not intent to; I will have to check closer what is going wrong currently. Sorry that it will take a while, since it seems the CompatHelper still gives us an update every day ( I thought that was fixed?) |
No problem. I will continue my work on connections after this is done but I have plenty of other things to do 🙂 . Including writing of better documentation for groups (it's very basic right now).
Maybe 0.12.1 release triggered it again? We could easily check 🙂 |
* Makes the original group transparency type the transparent one * Introduce a default transparency type, that is similar to the DefaultEmbedding one. * reimplement the `base_manifold` scheme also for (abstract) groups
I hope I finally fixed the tests.
|
Codecov Report
@@ Coverage Diff @@
## master #388 +/- ##
==========================================
- Coverage 97.92% 97.72% -0.20%
==========================================
Files 76 76
Lines 5914 5841 -73
==========================================
- Hits 5791 5708 -83
- Misses 123 133 +10
Continue to review full report at Codecov.
|
The 13 lines we miss are due to macros not being checked correctly (I shortened code there by replacing a function definition and a |
The 13 lines we still miss might be due to an issue like JuliaLang/julia#36283 |
Yes, all of these failures look like false positives. |
Co-authored-by: Mateusz Baran <[email protected]>
Co-authored-by: Mateusz Baran <[email protected]>
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.
OK, I think this is fine now 🙂
Nice! I will wait for the tests and merge maybe in the evening or tomorrow morning. |
...that was introduced in ManifoldsBase 0.12.0
This PR also