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

MAINT: Use np.interp as supported by numba #138

Merged
merged 1 commit into from
Mar 4, 2024
Merged

MAINT: Use np.interp as supported by numba #138

merged 1 commit into from
Mar 4, 2024

Conversation

mmcky
Copy link
Contributor

@mmcky mmcky commented Mar 4, 2024

This PR switches from interpolation package to use np.interp as this is now supported directly by numba

https://numba.pydata.org/numba-doc/dev/developer/autogen_numpy_listing.html#numpy.interp

ref: QuantEcon/QuantEcon.py#722 and QuantEcon/QuantEcon.py#724

Copy link

netlify bot commented Mar 4, 2024

Deploy Preview for incomparable-parfait-2417f8 ready!

Name Link
🔨 Latest commit 73cf999
🔍 Latest deploy log https://app.netlify.com/sites/incomparable-parfait-2417f8/deploys/65e537ba1774da0008457d92
😎 Deploy Preview https://deploy-preview-138--incomparable-parfait-2417f8.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Mar 4, 2024

@github-actions github-actions bot temporarily deployed to pull request March 4, 2024 03:07 Inactive
@mmcky mmcky requested review from Smit-create and kp992 March 4, 2024 04:11
Copy link
Contributor

@kp992 kp992 left a comment

Choose a reason for hiding this comment

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

Thanks @mmcky

@kp992 kp992 merged commit 1269b93 into main Mar 4, 2024
7 checks passed
@kp992 kp992 deleted the update-interp branch March 4, 2024 04:32
@mmcky
Copy link
Contributor Author

mmcky commented Mar 4, 2024

@kp992 thanks for review. If you could let me know you approve in the future that would be great (rather than merge).

I will do some benchmarks to see if np.interp or our jit version is faster.

@kp992
Copy link
Contributor

kp992 commented Mar 4, 2024

Okay, noted. Thanks @mmcky

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