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

Make NumPy types for u0 and usol configurable #17

Open
juhannc opened this issue Aug 2, 2022 · 1 comment
Open

Make NumPy types for u0 and usol configurable #17

juhannc opened this issue Aug 2, 2022 · 1 comment

Comments

@juhannc
Copy link

juhannc commented Aug 2, 2022

First of all, awesome code! I got a speedup of an order of magnitude basically for free!

But, as far as I can tell, u0 and usol are required to be of type np.float64. However, often times np.float32 is more than enough.

Maybe I just don't see the option to change it, but if it doesn't exist, it'd be nice if we could change it.

Thank you!

@Nicholaswogan
Copy link
Owner

Thanks! Ya, it should be possible to just compile the underlying C++ code for either float64 or float32. I will leave this open and get it to eventually.

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

No branches or pull requests

2 participants