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

Fix Gaussian integrator on jax #215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

javier-garcia-tilburg
Copy link

@javier-garcia-tilburg javier-garcia-tilburg commented Nov 25, 2024

Description

Gaussian and GaussLegendre integrators throw an error on jax if anp.prod is called on a list instead of an array

Summary of changes

  • Before calling anp.prod, use anp.stack to convert list of arrays into an array.

Resolved Issues

How Has This Been Tested?

  • Untested

IMPORTANT: This change could potentially affect the behavior of other backends.

Gaussian and GaussLegendre integrators throw an error on jax if anp.prod is called on a list instead of an array. See esa#214
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.

[jax] Gaussian and GaussLegendre throw errors
1 participant