-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add nanmath option #941
Add nanmath option #941
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #941 +/- ##
==========================================
- Coverage 77.47% 8.35% -69.12%
==========================================
Files 26 26
Lines 3329 3267 -62
==========================================
- Hits 2579 273 -2306
- Misses 750 2994 +2244
... and 24 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@shashi do you know what happened to |
src/build_function.jl
Outdated
@@ -108,7 +108,11 @@ function _build_function(target::JuliaTarget, op, args...; | |||
states = LazyState(), | |||
linenumbers = true, | |||
wrap_code = nothing, | |||
cse = false, kwargs...) | |||
cse = false, | |||
nanmath = false, |
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.
is there a reason to not default to true?
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.
Because defaulting to NaNMath would break our implicit support for complex numbers. See JuliaMath/NaNMath.jl#66
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 just check if eltype(...) <: AbstractComplex ...
in the replaced function? I think it would be pretty important to have this as the default.
66a4f13
to
cf50235
Compare
No description provided.