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
ModelResult.eval_uncertainty is not working properly for models that generate complex data. Running the method gives a warning about casting complex to float, and returns a real array of the same length as the model.
Description
ModelResult.eval_uncertainty
is not working properly for models that generate complex data. Running the method gives a warning about casting complex to float, and returns a real array of the same length as the model.See https://groups.google.com/g/lmfit-py/c/tqaLwSBH-Ts/m/HBDP0y4HEAAJ
A Minimal, Complete, and Verifiable example
Fit report:
Version information
Python: 3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:17:34) [Clang 14.0.6 ]
lmfit: 1.2.1.post49+g78c9994, scipy: 1.11.0, numpy: 1.25.0,asteval: 0.9.30, uncertainties: 3.1.7
Link(s)
See https://groups.google.com/g/lmfit-py/c/tqaLwSBH-Ts/m/HBDP0y4HEAAJ
The text was updated successfully, but these errors were encountered: