-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
WIP: Quantiles of vector of infinities #19659
WIP: Quantiles of vector of infinities #19659
Conversation
@@ -683,7 +683,11 @@ end | |||
else | |||
a = T(v[i]) | |||
b = T(v[i+1]) | |||
return a + h*(b-a) | |||
if isfinite(a) && isfinite(b) |
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.
spaces, not tabs
Looks good but needs a rebase. |
Sorry, @andreasnoack, this is embarrassing. Do you have a reference on how to |
Try searching for "github rebase PR" or similar. Most of the hits might give more information than necessary. The steps I do are
In theory, I should also be able to do this here on GitHub but the web editor hangs. |
i = trunc(Int,t0) + 1 | ||
|
||
if h == 0 | ||
return T(v[i]) | ||
else | ||
a = T(v[i]) | ||
b = T(v[i+1]) | ||
return a + ifelse(a == b, zero(a), h*(b-a)) | ||
if isfinite(a) && isfinite(b) |
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.
agains, please use (multiples of) 4 space indent, not tabs
🎉 |
A fix for issue #19542