tBuLi / symfit

Symbolic Fitting; fitting as it should be.
http://symfit.readthedocs.org
MIT License
232 stars 17 forks source link

Example not works #346

Closed nfhktwrbq closed 2 years ago

nfhktwrbq commented 2 years ago

Example Fit (Least Squares) fails with error: model = a * x + b TypeError: can't multiply sequence by non-int of type 'Parameter'

Python 3.8. Symfit 0.5.3

pckroon commented 2 years ago

Small typo in the example: use x, = variables('x') instead.