Opened 9 years ago
Last modified 4 years ago
#12316 needs_info enhancement
find_fit does not work for piecewise functions
Reported by: | Shashank | Owned by: | jason, jkantor |
---|---|---|---|
Priority: | minor | Milestone: | sage-7.3 |
Component: | numerical | Keywords: | piecewise find_fit |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
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 (8)
comment:1 Changed 9 years ago by
- Type changed from PLEASE CHANGE to enhancement
comment:2 Changed 9 years ago by
- Report Upstream changed from Not yet reported upstream; Will do shortly. to N/A
comment:3 Changed 9 years ago by
comment:4 Changed 7 years ago by
- Milestone changed from sage-5.11 to sage-5.12
comment:5 Changed 7 years ago by
- Milestone changed from sage-6.1 to sage-6.2
comment:6 Changed 6 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:7 Changed 6 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:8 Changed 4 years ago by
- Milestone changed from sage-6.4 to sage-7.3
- Status changed from new to needs_info
Note: See
TracTickets for help on using
tickets.
It would be great if you could post an example of what should work, by the way, just for reference. Thanks!