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

Improve real assumption helper for factorial function (Fix #8722) #8723

Merged
merged 1 commit into from Jan 2, 2015

Conversation

aktech
Copy link
Member

@aktech aktech commented Jan 1, 2015

Improve real assumption helper for factorial function, there was some logical error in the earlier implementation.
Fixes #8722

@pelegm
@skirpichev

@aktech aktech changed the title Add real assumption helper for factorial function (Fix #8722) Improve real assumption helper for factorial function (Fix #8722) Jan 1, 2015
@skirpichev
Copy link
Contributor

there was some logical error in the earlier implementation.

Could you point on it? I don't see logical errors.

@aktech
Copy link
Member Author

aktech commented Jan 1, 2015

factorial(x).is_real should return real for every noninteger, but at the time it's not because of the first condition (since 'and' with negative).
as reported in issue #8722

skirpichev added a commit that referenced this pull request Jan 2, 2015
Improve real assumption helper for factorial function (Fix #8722)
@skirpichev skirpichev merged commit ba69df1 into sympy:master Jan 2, 2015
@aktech aktech deleted the i8722 branch January 2, 2015 16:44
@aktech aktech restored the i8722 branch January 21, 2015 18:51
@aktech aktech deleted the i8722 branch August 30, 2015 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

factorial(x) is not known to be real when x is a noninteger
2 participants