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

Mod(zoo, 0) causes RunTime Error #9545

Closed
gxyd opened this issue Jun 18, 2015 · 1 comment
Closed

Mod(zoo, 0) causes RunTime Error #9545

gxyd opened this issue Jun 18, 2015 · 1 comment

Comments

@gxyd
Copy link
Contributor

gxyd commented Jun 18, 2015

>>> Mod(zoo, 0)
Run-TimeError
>>> Mod(zoo, 5)
Mod(zoo, 5)      # Returned as it is instead of nan
>>> Mod(oo, oo)
0                      # instead of nan
gxyd pushed a commit to gxyd/sympy that referenced this issue Jun 20, 2015
Mod(n, 5) returns `nan` for all infinite `n` fixes issue sympy#9545

Changes made
@gxyd
Copy link
Contributor Author

gxyd commented Jul 17, 2015

Fixed by #9546

@gxyd gxyd closed this as completed Jul 17, 2015
skirpichev pushed a commit to diofant/diofant that referenced this issue Sep 28, 2015
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

No branches or pull requests

1 participant