Skip to content

Commit 2027420

Browse files
committed
Minor fix in qsmooth helper
1 parent 4e74218 commit 2027420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transforms/quantile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ end
8181
function qsmooth(values)
8282
permut = sortperm(values)
8383
sorted = float.(values[permut])
84-
bounds = findall(>(0), diff(sorted))
84+
bounds = findall(>(zero(eltype(sorted))), diff(sorted))
8585
if !isempty(bounds)
8686
i = 1
8787
j = first(bounds)

0 commit comments

Comments
 (0)