-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
add abs method to ParameterExpression #9309
add abs method to ParameterExpression #9309
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the the following people are requested to review this:
|
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.
Overall LGTM, but since @jakelishman reviewed the first version of the PR it would be good if he could have another look 🙂
Pull Request Test Coverage Report for Build 5001210513
💛 - Coveralls |
releasenotes/notes/add-abs-to-parameterexpression-347ffef62946b38b.yaml
Outdated
Show resolved
Hide resolved
…b38b.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com>
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.
LGTM thanks for all the updates!
* added abs method to parameterexpression * fixed wrong call in abs function * changed definition of abs to __abs__ * additionally implemented __le__, __ge__, __lt__, __gt__ operators * fixed requested features and implemented more tests for __lt__, __gt__ * fixed lint errors in parameterexpression and its tests * fixed formatting error in docstrings * removed __lt__ and friends, fixed recommendations * added more tests for abs function * fixed lint * added a releasenote to document change * mod function & add more tests * add new line at the end of file * fix lint * add alias of __abs__ for doc * mod test_compile_with_ufunc * add test * fix test * fix test * fix test * fix test * fix test * Update test_parameters.py * Update releasenotes/notes/add-abs-to-parameterexpression-347ffef62946b38b.yaml Co-authored-by: Julien Gacon <gaconju@gmail.com> --------- Co-authored-by: Christopher Zachow <christopher.zachow@sva.de> Co-authored-by: Julien Gacon <gaconju@gmail.com>
Summary
Co-authored-by: @czachow Christopher.zachow@sva.de
__abs__()
method to the class ParameterExpressionabs()
method to the class ParameterExpression__abs__()
will not be documentedDetails and comments