id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
1772 [with patch, positive review] bug somewhere in the symbolics was mhansen "This is from Hector:
{{{
I also hit this bug while doing this (taken from the ""piecewise""
documentation):
sage: f1 = lambda x:-1
sage: f2 = lambda x:2
sage: f = Piecewise([[(0,pi/2),f1],[(pi/2,pi),f2]])
sage: P = f.plot_fourier_series_partial_sum(15,pi,-5,5) # long time
boom
...
/Users/was/s/local/lib/python2.5/site-packages/sage/calculus/calculus.py in (i)
3607 # We need to do this maximum to correctly handle the case where
3608 # self is something like (sin+1)
-> 3609 n = max( max(map(lambda i: i.number_of_arguments(), self._operands)+[0]), len(variables) )
3610 self.__number_of_args = n
3611 return n
: 'Pi' object has no attribute 'number_of_arguments'
}}}
" defect closed major sage-2.10.1 calculus fixed