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

Fixed aeroDV value setting #80

Merged
merged 1 commit into from
May 9, 2022
Merged

Fixed aeroDV value setting #80

merged 1 commit into from
May 9, 2022

Conversation

sseraj
Copy link
Collaborator

@sseraj sseraj commented May 9, 2022

Purpose

This fixes a bug where _set_aeroDV_val does not actually set the value. As far as I can tell, this bug/fix does not affect standard optimizations or much else in our codebase. However, the current code might cause problems if someone expects aero DVs to be updated when the AeroProblem is updated.

The regression occured on this commit 1e2f389

I also thought this might be related to mdolab/adflow#208, but I don't think it is.

Expected time until merged

1-2 days

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

Checklist

  • I have run flake8 and black to make sure the code adheres to PEP-8 and is consistently formatted
  • I have run unit and regression tests which pass locally with my changes
  • I have added new tests that prove my fix is effective or that my feature works
  • I have added necessary documentation

@sseraj sseraj requested a review from a team as a code owner May 9, 2022 20:14
@sseraj sseraj requested review from joanibal and eirikurj May 9, 2022 20:14
@ewu63
Copy link
Collaborator

ewu63 commented May 9, 2022

This is exactly the sort of thing that pylint catches.
image

@codecov
Copy link

codecov bot commented May 9, 2022

Codecov Report

Merging #80 (c0e83f0) into main (308a554) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   29.30%   29.30%           
=======================================
  Files          25       25           
  Lines        2344     2344           
=======================================
  Hits          687      687           
  Misses       1657     1657           
Impacted Files Coverage Δ
baseclasses/problems/pyAero_problem.py 18.48% <0.00%> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Copy link
Contributor

@marcomangano marcomangano left a comment

Choose a reason for hiding this comment

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

Lmao good catch

@marcomangano marcomangano merged commit d4946bd into main May 9, 2022
@marcomangano marcomangano deleted the aeroDV-fix branch May 9, 2022 20:46
sseraj added a commit to gawng/baseclasses that referenced this pull request May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants