Skip to content
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

Make switch_direction consistent #639

Merged
merged 8 commits into from
Jul 7, 2023

Conversation

mateuszbaran
Copy link
Member

@mateuszbaran mateuszbaran commented Jul 1, 2023

This PR implements a solution that will resolve #637 by introducing four different action directions instead of just two.

TODO:

  • review rotation action directions.
  • implement forward-right and backward-left actions.

@mateuszbaran mateuszbaran added enhancement New feature or request WIP Work in Progress (for a pull request) preview docs Add this label if you want to see a PR-preview of the documentation labels Jul 1, 2023
@codecov
Copy link

codecov bot commented Jul 1, 2023

Codecov Report

Merging #639 (c7f8c9c) into master (4b80c6e) will decrease coverage by 58.39%.
The diff coverage is 90.44%.

@@             Coverage Diff             @@
##           master     #639       +/-   ##
===========================================
- Coverage   98.87%   40.49%   -58.39%     
===========================================
  Files         106      106               
  Lines       10206    10081      -125     
===========================================
- Hits        10091     4082     -6009     
- Misses        115     5999     +5884     
Impacted Files Coverage Δ
src/Manifolds.jl 66.66% <ø> (-20.00%) ⬇️
src/groups/circle_group.jl 83.58% <ø> (-16.42%) ⬇️
src/groups/group_operation_action.jl 84.44% <ø> (-15.56%) ⬇️
src/groups/multiplication_operation.jl 83.58% <ø> (-16.42%) ⬇️
src/groups/rotation_action.jl 77.17% <56.25%> (-22.83%) ⬇️
src/groups/translation_action.jl 84.37% <75.00%> (-15.63%) ⬇️
src/groups/group_action.jl 85.10% <81.81%> (-5.60%) ⬇️
src/groups/metric.jl 65.00% <87.50%> (-35.00%) ⬇️
src/groups/general_unitary_groups.jl 94.69% <92.85%> (-5.31%) ⬇️
ext/ManifoldsTestExt/tests_group.jl 92.87% <100.00%> (-2.14%) ⬇️
... and 8 more

... and 80 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mateuszbaran mateuszbaran removed the WIP Work in Progress (for a pull request) label Jul 3, 2023
@mateuszbaran mateuszbaran marked this pull request as ready for review July 3, 2023 12:49
@mateuszbaran
Copy link
Member Author

I think this should be more or less ready. @olivierverdier , do you think this solves the issue? I was trying to make the default close to what we currently have but now you can express all four options and switch just the left/right or forward/backward part of the action. Rotation and translation actions are all forward now.

@mateuszbaran mateuszbaran merged commit 6168554 into master Jul 7, 2023
26 of 30 checks passed
@olivierverdier
Copy link
Contributor

It does solve the issue, thank you!

@kellertuer kellertuer deleted the mbaran/switch-direction-improvements branch May 4, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preview docs Add this label if you want to see a PR-preview of the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistency with switch_direction?
3 participants