Issue with eval_uncertainty when param vary=False #906
Replies: 2 comments 2 replies
-
I have checked that in lmfit = "1.2.1" the above example runs without issue. |
Beta Was this translation helpful? Give feedback.
-
@brycehenson Hm, maybe. You did not show the full traceback. Where is the error at? Your example does not run for me. There are no import statements at all. What is Definitely "No" on the A model function that returns some array-like thing that is not numpy ndarray is definitely anti-recommended. A convenience function like eval_uncertainty() may very well complain if you fail to use ndarrays uniformly. |
Beta Was this translation helpful? Give feedback.
-
I think i have discovered a bug in eval_uncertainty when a parameter vary=Flase is set.
It seems that eval_uncertainty cant handle a non varied parameter. Is this expected behaviour ?
pytest output
my system information
My next steps
Beta Was this translation helpful? Give feedback.
All reactions