Open juhannc opened 2 years ago
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.
u0
usol
np.float64
np.float32
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!
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.
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
andusol
are required to be of typenp.float64
. However, often timesnp.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!