-
Notifications
You must be signed in to change notification settings - Fork 11
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
Handle input containing division by zero better #77
base: master
Are you sure you want to change the base?
Conversation
f8a7076
to
a2f5e21
Compare
Sadly, sympy 1.4 seems to not work well with newer Python versions (starting from 3.9). This is probably triggered now by fixing the bug where "Mul" was missing from the list of sympy operators. If #70 is merged, we can drop support for sympy 1.4 altogether. I would suggest to wait for that PR to be merged first. |
@@ -43,7 +43,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
with_gsl: ["0", "1"] | |||
sympy_version: ["==1.4", ""] # empty string for "latest" | |||
sympy_version: [""] # empty string for "latest" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove sympy_version
altogether?
In case of numerical issues with the input, throw a user-friendly error, like: