#12316: find_fit does not work for piecewise functions
-----------------------------+----------------------------------------------
   Reporter:  Shashank       |          Owner:  jason, jkantor                  
           
       Type:  PLEASE CHANGE  |         Status:  new                             
           
   Priority:  minor          |      Milestone:  sage-4.8                        
           
  Component:  numerical      |       Keywords:  piecewise find_fit              
           
Work_issues:                 |       Upstream:  Not yet reported upstream; Will 
do shortly.
   Reviewer:                 |         Author:                                  
           
     Merged:                 |   Dependencies:                                  
           
-----------------------------+----------------------------------------------
 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)".

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12316>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to