You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose to convert the list returned by anp.meshgrid into an array with anp.stack. This fix works for me in jax, however we should first check that this doesn't cause problems in other backends.
Issue
Problem Description
Gaussian
andGaussLegendre
integrators don't work with jax backend, they throwand this error comes from
torchquad/torchquad/integration/gaussian.py
Lines 67 to 69 in bf8ed5c
What Needs to be Done
I propose to convert the list returned by
anp.meshgrid
into an array withanp.stack
. This fix works for me in jax, however we should first check that this doesn't cause problems in other backends.How Can It Be Tested or Reproduced
Using jax-0.4.35 and torchquad 0.4.0 run
The text was updated successfully, but these errors were encountered: