fix(lambdify): make cse=True work with non-lists (1.11 branch) #23976
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Jason K. Moore moorepants@gmail.com
Co-authored-by: Christopher Smith smichr@gmail.com
References to other Issues or PRs
Backport of #23975 and #23979 to the 1.11 branch.
Bump version to 1.11.1
Brief description of what is fixed or changed
Other comments
Release Notes
lambdify
with thecse=True
option (introduced in 1.9) resulting in a list being returned for a lambdified expression that was not a list. This bug is now fixed in the 1.11.1 release.