Ticket #12316 (new enhancement)
find_fit does not work for piecewise functions
| Reported by: | Shashank | Owned by: | jason, jkantor |
|---|---|---|---|
| Priority: | minor | Milestone: | sage-5.10 |
| Component: | numerical | Keywords: | piecewise find_fit |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | |
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
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)".
Change History
Note: See
TracTickets for help on using
tickets.
