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
Currently, if the wavelength parameter within eigensolve_isotropic_media is passed as a float, rather than a jax array, then it throws an obscure error (not directly pointing to the wavelength parameter itself).
It would be good to either
explicitly allow for float values and do the necessary conversions under the hood.
assert a type up front and throw an error describing why this needs to be the case.
The text was updated successfully, but these errors were encountered:
Currently, if the
wavelength
parameter withineigensolve_isotropic_media
is passed as afloat
, rather than a jax array, then it throws an obscure error (not directly pointing to thewavelength
parameter itself).It would be good to either
float
values and do the necessary conversions under the hood.The text was updated successfully, but these errors were encountered: