Hello, There is a discrepancy between the documentation and behaviour of partial sums of Fourier series: http://trac.sagemath.org/sage_trac/ticket/8603
If the cut-off parameter is N, then the documentation says that N-th term will be included, but it is not. To fix it, one should either adjust the documentation, which is easy and does not break any code, or change the behaviour, which leads to exceptions in doctests and can break similar user code. What should we do? Including N seems a bit more natural, but stopping at N-1 is more Pythonic, i.e. like range(N). Thank you, Andrey -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org