Closed allen-adastra closed 1 year ago
Thanks for the PR! My bad for not checking for scalar inputs :sleeping:
Looks like the tests are failing due to some deprecation warnings in newer versions of JAX, can you take a look? Also looks like some formatting/linting issues, pre-commit (yml file https://github.com/f0uriest/interpax/blob/main/.pre-commit-config.yaml) should take care of it.
Thanks for making this package! Def something that is sorely needed.
Sorted out the deprecation matter and ran the pre-commit (whoops, didn't install).
I also recently tried this new linter/formatter that has been exploding in popularity. Will say it's been a good move for me: https://github.com/astral-sh/ruff
Merging #12 (4bd3f51) into main (c3b1d4c) will increase coverage by
0.01%
. The diff coverage is100.00%
.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Add support for scalar query points.
This isn't the most elegant way of going about it, would welcome other ideas.
I will note that currently on
main
, if I input a scalar as a 1d array, we fail thejax.grad
test it seems.Also increase jax version range up to 0.4.20.