-
Notifications
You must be signed in to change notification settings - Fork 707
fix recursion error from power simplification #8044
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
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.
Should we run benchmarks against this PR?
This didn't show up for so long because it doesn't effect any of the normal core operators that define a |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8044 +/- ##
==========================================
- Coverage 99.68% 99.68% -0.01%
==========================================
Files 543 543
Lines 56215 56216 +1
==========================================
Hits 56040 56040
- Misses 175 176 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Andrija Paurevic <[email protected]>
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.
Looks good to me
|
Have we validated that this fixes the codercise? @alvaro-at-xanadu are you able to run the github action for the codercises using this branch? |
Co-authored-by: Mudit Pandey <[email protected]>
|
Adding to merge queue w/ approval from @albi3ro 😄 |
Context:
The following code caused recursion errors:
With a minimal non-working example of:
The pow was simplifying to a
prod, and then theprodwas simplifying to a power.Description of the Change:
Simplify the entrants to
prodinstead of theproditself.Benefits:
Possible Drawbacks:
Related GitHub Issues:
Fixes #8045 [sc-97284]