-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify already in the evaluator in witgen. (#2390)
The evaluator in witgen_inference would always try to fully evaluate each sub-expression into an affine expression. This could fail even if we would have multiplied by zero later on anyway. As a bonus, we can now use exactly this evaluator for the debug formatter, that tries to simplify things like multiplication by zero.
- Loading branch information
Showing
2 changed files
with
27 additions
and
60 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