Ticket #3655: trac_3655.patch
| File trac_3655.patch, 0.8 kB (added by mhansen, 3 months ago) |
|---|
-
a/sage/functions/piecewise.py
old new 70 70 DJ (2008-07) - fixed a left multiplication bug reported by C. Boncelet 71 71 (by defining __rmul__ = __mul__). 72 72 73 TESTS: 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 73 79 """ 74 80 75 81 #*****************************************************************************