Skip to content

Make SympyExpression iterable#8

Open
bdlucas1 wants to merge 1 commit into
masterfrom
make-sympyexpression-iterable
Open

Make SympyExpression iterable#8
bdlucas1 wants to merge 1 commit into
masterfrom
make-sympyexpression-iterable

Conversation

@bdlucas1
Copy link
Copy Markdown
Owner

@bdlucas1 bdlucas1 commented Nov 7, 2025

HypergeometricPFQ takes a list as an argument. When to_sympy is called on HypergeometricPFQ it turns the list into a SympyExpresssion and passes it into sympy.hyper, which expects the argument passed in to be iterable. This change makes that the case.

HypergeometricPFQ takes a list as an argument. When to_sympy is called on HypergeometricPFQ it turns the list into a SympyExpresssion and passes it into sympy.hyper, which expects the argument passed in to be iterable. This change makes that the case.
@rocky
Copy link
Copy Markdown
Collaborator

rocky commented Nov 11, 2025

Again, at first glance seems like neat observation and good to have.

Let's get this and the other PR into mathics-core.

I would greatly apprecate some kind of test of this.

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