Ticket #12316 (new enhancement)
find_fit does not work for piecewise functions
|Reported by:||Shashank||Owned by:||jason, jkantor|
find_fit calls len(variables) which is not defined for piecewise functions. There is a variable "length" that is equivalent. If the function passed to find_fit is piecewise it should call "length" instead of "len(variables)".