Skip to content

Remove redundant Expression wrapping around Product - #91

Closed
willbryant wants to merge 1 commit into
ankane:masterfrom
willbryant:simplify_product
Closed

willbryant wants to merge 1 commit into
ankane:masterfrom
willbryant:simplify_product

Conversation

@willbryant

Copy link
Copy Markdown
Contributor

Because Product < Expression, Expression*factor was producing Expression([Expresssion]), which is unnecessary.

This PR makes it incrementally easier for me to implement arbitrary expression support for routing constraints, which I'm submitting in a forthcoming PR.

Because Product < Expression, Expression*factor was producing Expression([Expresssion]), which is unnecessary.
@ankane

ankane commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Hi @willbryant, thanks for another PR, but I'd like to keep Product an internal class.

@ankane ankane closed this Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants