Commit 7f06b48a authored by Kuldeep Singh Dhaka's avatar Kuldeep Singh Dhaka

lmfit api change fix

parent e5503792
......@@ -392,8 +392,8 @@ static bool perform_sine_curve_fit(BsOscChannelPhysical *chan,
control.patience = 20; /* total evaluation = 10 * (4 + 1) = 50 */
/* now the call to lmfit */
lmmin(independent_variable, (double *) param,
sample_count, (const void *) data, sine_fit_eval, &control, &status);
lmmin(independent_variable, (double *) param, sample_count, NULL,
(const void *) data, sine_fit_eval, &control, &status);
/* reverse the transform */
param->amplitude = exp(param->amplitude);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment