You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When integrating a complex-valued function, for example just just changing the README example to fun = lambda t: t * jnp.log(1 + t) * 1j, I get a TypeError:
TypeError: true_funandfalse_funoutputmusthaveidenticaltypes, got
('ShapedArray(complex64[])', 'ShapedArray(float32[], weak_type=True)', 'DIFFERENT ShapedArray(complex64[]) vs. ShapedArray(float32[])', 'DIFFERENT ShapedArray(complex64[]) vs. ShapedArray(float32[])').
This happens even when the norm is real-valued (which is the default anyway I think).
The text was updated successfully, but these errors were encountered:
Thanks a lot for your excellent library! 👏
When integrating a complex-valued function, for example just just changing the README example to
fun = lambda t: t * jnp.log(1 + t) * 1j
, I get aTypeError
:This happens even when the norm is real-valued (which is the default anyway I think).
The text was updated successfully, but these errors were encountered: