-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Moment.resolve_parameter for constant sympy expressions (#6794)
Problem: `Moment._resolve_parameters_` might keep constant sympy expression if its resolved value is numerically equal. Solution: Check if parameterization changed for the resolved operation and if so replace the original operation with resolved (even if equal). Fixes #6778 --------- Co-authored-by: Pavol Juhas <[email protected]> Co-authored-by: Noureldin <[email protected]>
- Loading branch information
1 parent
b35382f
commit 7096acd
Showing
2 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters