GSoC Week 6

by on under jekyll
1 minute read

The start of this week was spent in making review changes to the PR, and it was successfully marged.

After that, I shifted focus to a new issue that had popped up - sympy/sympy#21756. The bug causing this issue was the truncation of Order term in an intermediate step in Mul._eval_nseries. An example to demonstrate the bug -

In [4]: term = (1 - exp(-2*I*pi*z))

In [5]: term.series(z, n=1)
Out[5]: 0

This is the wrong answer, O(z) should be returned. Fixing this would fix the issue.

I also worked to debug sympy/sympy#21598. The bug causing this issue was that log._eval_as_leading_term did not raise when asked for the leading term of something like (1/x), as it evaluates to zoo and not oo or -oo, which raise.

I will try to debug a couple more issues next week, and open a PR containing all these patches.

gsoc, SymPy