Ticket #3655: trac_3655.patch

File trac_3655.patch, 0.8 kB (added by mhansen, 4 months ago)
  • a/sage/functions/piecewise.py

    old new  
    7070        DJ (2008-07) - fixed a left multiplication bug reported by C. Boncelet  
    7171                       (by defining __rmul__ = __mul__). 
    7272         
     73TESTS: 
     74    sage: R.<x> = QQ[] 
     75    sage: f = Piecewise([[(0,1),1*x^0]]) 
     76    sage: 2*f 
     77    Piecewise defined function with 1 parts, [[(0, 1), 2]] 
     78 
    7379""" 
    7480 
    7581#*****************************************************************************