-
Notifications
You must be signed in to change notification settings - Fork 641
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
Adjoint cleanup #1588
Adjoint cleanup #1588
Conversation
Note that the whitespace changes will complicate rebasing and merging other pending changes to the Python code. Is there something easier than the procedure suggested in #662? (What Python formatting tool did you use?) |
|
a4c29fc
to
0dafbc0
Compare
It would be better to have a separate PR with just the |
0dafbc0
to
3bc87f3
Compare
Done in #1590. |
04649c2
to
ddb627d
Compare
d09d8c7
to
2d55ad5
Compare
I think this PR is good to go. These changes are relatively minor code health related things that should (hopefully) be uncontroversial. Let me know if there is any additional feedback. |
* Correct spelling errors, fix minor bugs / typos, remove unused imports * Make `forward` attribute of EigenmodeCoefficient consistent with constructor arg * Fix typo in docstring and fix incorrect type hint
This PR bases off of #1586 to clean up the adjoint module code by:
Applying formatting to the Python code to make it more readable(Moved to Apply yapf tomeep.adjoint.*
#1590)ObjectiveQuantity
classreturn
statements at the end of__init__
methodsIn a subsequent PR I will propose a fix for #1585.