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

fixing bugs 323 and 324 #327

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

fixing bugs 323 and 324 #327

wants to merge 3 commits into from

Conversation

JadM133
Copy link

@JadM133 JadM133 commented Nov 2, 2023

I fixed both bugs 323 and 324 and tested linear, rectilinear and cubic interpolations with both empty and random matrices. Tests are passing but I am getting 4 warnings (which I assume are not related to the changes since they're related to some deprecation.

Copy link
Owner

@patrick-kidger patrick-kidger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the autoformatter isn't happy -- can you take a look at CONTRIBUTING.md?

Other than this, this looks great to me, I think it solves both issues perfectly. Thank you for taking the time to tackle this!

test/test_global_interpolation.py Outdated Show resolved Hide resolved
@JadM133
Copy link
Author

JadM133 commented Nov 5, 2023

Thank you for the comment! I agree, using jnp.full is a better way. I fixed this and followed the instructions in CONTRIBUTING.md.

@patrick-kidger
Copy link
Owner

Hmm, this is a little odd -- we seem to be seeing a flake in an unrelated test. Your changes themselves seem fine.
I've not seen this issue before, so possibly this is because of a change somewhere upstream in JAX?

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