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
Remove unused var opts in _setup_var_data, avoid potential memory waste #3086
Conversation
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.
Need to check something.
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, yeah. It looks like this part came over from the interpolating spline component, where it is needed for the bspline options. Interp_options isn't implemented here, but could be useful for setting a couple of things in Akima. It should come in as a feature with tests and docs in the future. For now, removing the extra code is the right thing to do.
Thank you for the code reviewing, it's my first time contributing on an open source project. Currently, I can't merge pull request because this commit is not signed. How can I solve this issue? |
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.
Could you please revert units.py
to the same as the master version?
Those changes should be addressed in your other pull request but we shouldn't be introducing any of those changes in this one.
See this page: It is possible to retroactively sign commits, but with a single commit it is probably easier to just reset and redo the change after you have signing configured. https://webdevstudios.com/2020/05/26/retroactively-sign-git-commits/ |
We can clean up the ops issue and save the units changes for later. |
Summary
After checking the _setup_var_data, I verified the opts dictionary is unused.
I remove this variable and the assignment line for this variable.
Related Issues