Fitting two curves with a variable number of parameters using `scipy.optimize.leaset_squares()`
I’m writing code to fit parameters of related pairs of functions from a family using the scipy.optimize.least_squares()
function and it seems that the test parameters are not being passed to the function correctly. Here’s a simplified illustration of the problem.