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

Default CMA in LiftDrag pluginto zero #2272

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

arjo129
Copy link
Contributor

@arjo129 arjo129 commented Dec 26, 2023

🦟 Bug fix

Fixes #

Summary

The changes in #2189 have caused a regression for our upstream users.
This fix disables moment calculations by defaulting Cma to zero. It
should help mitigate some of the regression. There is also an ongoing
discussion
as to whether the cos term should be cos^2 or cos.

@srmainwaring do take a look at this fix.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

The changes in #2189 have caused a regression for our upstream users.
This fix disables moment calculations by defaulting Cma to zero. It
should help mitigate some of the regression. There is also an [ongoing
discussion](#2189 (comment)) as to whether the cos term should be cos^2 or cos.

Signed-off-by: Arjo Chakravarty <[email protected]>
@arjo129 arjo129 requested a review from mjcarroll as a code owner December 26, 2023 02:39
@github-actions github-actions bot added the 🌱 garden Ignition Garden label Dec 26, 2023
Copy link

codecov bot commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ec622d) 64.74% compared to head (67850c4) 64.74%.

Additional details and impacted files
@@             Coverage Diff             @@
##           gz-sim7    #2272      +/-   ##
===========================================
- Coverage    64.74%   64.74%   -0.01%     
===========================================
  Files          357      357              
  Lines        29141    29140       -1     
===========================================
- Hits         18868    18867       -1     
  Misses       10273    10273              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@srmainwaring srmainwaring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arjo129 - LGTM. This provides consistent default behaviour between Garden and Harmonic.

@arjo129 arjo129 enabled auto-merge (squash) December 27, 2023 01:24
@arjo129 arjo129 merged commit 4eb9484 into gz-sim7 Dec 27, 2023
10 of 11 checks passed
@arjo129 arjo129 deleted the arjo/feat/disable_moments_by_default branch December 27, 2023 07:17
@scpeters scpeters mentioned this pull request Jan 17, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants