Searched refs:cur_slope (Results 1 – 2 of 2) sorted by relevance
765 float cur_slope = (y - *f) / x; in fit_linear() local766 if (slope_min <= cur_slope && cur_slope <= slope_max) { in fit_linear()768 *c = cur_slope; in fit_linear()
1093 float cur_slope = (y - *f) / x; in fit_linear() local1094 if (slope_min <= cur_slope && cur_slope <= slope_max) { in fit_linear()1096 *c = cur_slope; in fit_linear()