#12070: Unavoidable DeprecationWarnings when calling piecewise functions
-------------------------+--------------------------------------------------
   Reporter:  mjo        |          Owner:  burcin  
       Type:  defect     |         Status:  new     
   Priority:  minor      |      Milestone:  sage-4.8
  Component:  symbolics  |       Keywords:          
Work_issues:             |       Upstream:  N/A     
   Reviewer:             |         Author:          
     Merged:             |   Dependencies:          
-------------------------+--------------------------------------------------

Comment(by mjo):

 Oh, sorry. This is how to make it work in the prompt:

 {{{
 sage: f1(x) = 2*x
 sage: f = piecewise([[(-1,1), f1]])
 }}}

 I was planning an "easy" patch for this too, but it turns out to be harder
 than it looks. You can supply a variable to piecewise() to fix my simple
 example, but that causes other problems by turning everything into a
 callable expression.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12070#comment:4>
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