Skip to content
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

eliminate and remove EvaluableConstant #847

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

joostvanzwieten
Copy link
Member

In an effort to make the evaluable module array-only (#738), this PR eliminates and removes the evaluable.EvaluableConstant class.

The arguments passed to the convenience class `function.Custom` are lowered to
`evaluable.Array` if the argument is an instance of `function.Array` and to
`EvaluableConstant` if something else. This patch eliminates the use of
`EvaluableConstant` by passing the non-`function.Array` arguments to
`_CustomEvaluable` as is.
@joostvanzwieten joostvanzwieten merged commit e1a61d2 into master Dec 20, 2023
22 of 23 checks passed
@joostvanzwieten joostvanzwieten deleted the drop-evaluable-constant branch December 20, 2023 21:26
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