#13836: Fix variable dependence in PiecewisePolynomial
----------------------------------------------+-----------------------------
       Reporter:  christiankuper              |         Owner:  burcin       
           Type:  defect                      |        Status:  needs_review 
       Priority:  major                       |     Milestone:  sage-5.7     
      Component:  symbolics                   |    Resolution:               
       Keywords:  Piecewise, critical_points  |   Work issues:               
Report Upstream:  N/A                         |     Reviewers:  Burcin Erocal
        Authors:  Andrew Fleckenstein         |     Merged in:               
   Dependencies:                              |      Stopgaps:               
----------------------------------------------+-----------------------------

Comment (by christiankuper):

 Hello Andrew,

 sorry for the long silence but now finally I find time to look into your
 patch. Running the doctest I currently get one failure:

 {{{
 **********************************************************************
 File "/opt/sage-dev3/devel/sage-main/sage/functions/piecewise.py", line
 501:
     sage: f.trapezoid(4)
 Expected:
     Piecewise defined function with 4 parts, [[(0, 1/2), 1/2*y], [(1/2,
 1), 9/2*y - 2], [(1, 3/2), 1/2*y + 2], [(3/2, 2), -7/2*y + 8]]
 Got:
     Piecewise defined function with 4 parts, [[(0, 1/2), 1/2*x], [(1/2,
 1), 9/2*x - 2], [(1, 3/2), 1/2*x + 2], [(3/2, 2), -7/2*x + 8]]
 **********************************************************************
 }}}

 I am not sure why this is happening but will try to look into it.

 Christian

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13836#comment:20>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to