-
Notifications
You must be signed in to change notification settings - Fork 77
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
Simplify(::Expr) failed #61
Comments
If you need this working, feel free to submit a PR. It's not really clear what |
I also happen to run into this problem (more exactly, it seems to get stuck indefinitely). To me it looks like it could be due to the loop
that because of
should cause an infinite loop. It might be sufficient to change it to a
Will try and test this in the next few days and make a PR if it works (unless someone beats me to to it). |
That seems reasonable. Please do try that. Such a small change can be made into a PR by just editing the file in GitHub, which will handle everything for you including submitting the PR and running the tests. |
Implementing my suggested sol for Issue JuliaMath#61
Changed `!=` to use `!isequal()` to not get stuck in infinite loops with NaN. Non-trivial test also added that verifies this.
Resolving issue #61: Expressions evaluated to NaN
in v0.1.5
simplify
can not handle Float64(NaN)check this code
thanks
The text was updated successfully, but these errors were encountered: