lmfit / lmfit-py

Non-Linear Least Squares Minimization, with flexible Parameter settings, based on scipy.optimize, and with many additional classes and methods for curve fitting.
https://lmfit.github.io/lmfit-py/
Other
1.06k stars 274 forks source link

_buildmodel state dict (version 2) restore typo #956

Closed stuart-cls closed 4 months ago

stuart-cls commented 4 months ago

First Time Issue Code

Yes, I read the instructions and I am sure this is a GitHub Issue.>

Description

There is a typo in the _buildmodel function introduced in #940 https://github.com/lmfit/lmfit-py/blob/3cfd09a127a1b40020538e1a3d9e71ac2661ee38/lmfit/model.py#L1391

A Minimal, Complete, and Verifiable example

n/a

Fit report:

n/a

Error message:

n/a

Version information

lmfit since #940 (1.3.0+)

Link(s)