[GSoC] Functions: Corrects the _eval_as_leading_term() method of tan and sec functions#19461
Conversation
|
✅ Hi, I am the SymPy bot (v158). I'm here to help you write a release notes entry. Please read the guide on how to write release notes. Your release notes are in good order. Here is what the release notes will look like:
This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.7. Note: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it. Click here to see the pull request description that was parsed.
Update The release notes on the wiki have been updated. |
Codecov Report
@@ Coverage Diff @@
## master #19461 +/- ##
=============================================
+ Coverage 75.655% 75.663% +0.008%
=============================================
Files 652 652
Lines 169727 169736 +9
Branches 40065 40065
=============================================
+ Hits 128408 128429 +21
+ Misses 35708 35703 -5
+ Partials 5611 5604 -7 |
|
The exception handling in limits.py is a lot better. I'm not too familiar on the other parts of the codebase. |
Yeah, wanted a review from you regarding the |
|
Looks good. |
Brief description of what is fixed or changed
This PR corrects the
_eval_as_leading_term()method oftanandsecfunctions.It also removes the check:
if coeff is S.ComplexInfinityadded in this PR: #19432, by handling the cases which returnedzooand correcting them.Release Notes
_eval_as_leading_term()method oftanandsecfunctions