Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Typo in factortools and removes XFail for test_issue_5786 #19040

Merged
merged 3 commits into from Mar 31, 2020

Conversation

iammosespaulr
Copy link
Contributor

@iammosespaulr iammosespaulr commented Mar 31, 2020

References to other Issues or PRs

Fixes #18895
Closes #19039

Brief description of what is fixed or changed

This was already fixed by @skirpichev in his fork sometime last year. I fixed it in sympy and removed an XFail test

Other comments

Release Notes

  • polys
    • Fixed an issue when calling factor() with an extension

@sympy-bot
Copy link

sympy-bot commented Mar 31, 2020

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.6.

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.

<!-- Your title above should be a short description of what
was changed. Do not include the issue number in the title. -->

#### References to other Issues or PRs
<!-- If this pull request fixes an issue, write "Fixes #NNNN" in that exact
format, e.g. "Fixes #1234" (see
https://tinyurl.com/auto-closing for more information). Also, please
write a comment on that issue linking back to this pull request once it is
open. -->
Fixes #18895
Closes #19039 
#### Brief description of what is fixed or changed
This was already fixed by [@skirpichev in his fork sometime last year](https://github.com/skirpichev/diofant/commit/ffc0ba1c726a2e4fe586449084cc03475fe442e1). I fixed it in sympy and removed an XFail test

#### Other comments


#### Release Notes

<!-- Write the release notes for this release below. See
https://github.com/sympy/sympy/wiki/Writing-Release-Notes for more information
on how to write release notes. The bot will check your release notes
automatically to see if they are formatted correctly. -->

<!-- BEGIN RELEASE NOTES -->
* polys
  * Fixed an issue when calling factor() with an extension
<!-- END RELEASE NOTES -->

Update

The release notes on the wiki have been updated.

@iammosespaulr iammosespaulr changed the title Fixes Type and removes XFail in polytools Fixes Typo in factortools and removes XFail for test_issue_5786 Mar 31, 2020
@iammosespaulr
Copy link
Contributor Author

@oscarbenjamin I think this ought to do for #18895 . wdys?

@asmeurer
Copy link
Member

Looks good to me.

@oscarbenjamin
Copy link
Contributor

Is this copied from diofant?

@iammosespaulr
Copy link
Contributor Author

iammosespaulr commented Mar 31, 2020

Is this copied from diofant?

Not copied ... it's a typo from sympy, which was fixed in diofant way earlier ... I haven't copied anything other than a single Letter 😄

@asmeurer
Copy link
Member

Yeah, it looks like a distinct change to me.

@oscarbenjamin
Copy link
Contributor

Okay good. It's important to be clear.

@codecov
Copy link

codecov bot commented Mar 31, 2020

Codecov Report

Merging #19040 into master will increase coverage by 0.004%.
The diff coverage is 100.000%.

@@              Coverage Diff              @@
##            master    #19040       +/-   ##
=============================================
+ Coverage   75.758%   75.763%   +0.004%     
=============================================
  Files          648       648               
  Lines       168805    168805               
  Branches     39791     39791               
=============================================
+ Hits        127884    127892        +8     
+ Misses       35355     35349        -6     
+ Partials      5566      5564        -2     

@iammosespaulr
Copy link
Contributor Author

@oscarbenjamin @asmeurer The checks've passed!

@smichr smichr merged commit 63ab534 into sympy:master Mar 31, 2020
@oscarbenjamin
Copy link
Contributor

It seems that this was not a typo and was changed back in #19376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Factor with extension=True drops a factor of y-1
5 participants