Skip to content

Commit db6d8b9

Browse files
authored
fix call of floatrange on 1.7+ (#703)
1 parent 8f61785 commit db6d8b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hist.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function histrange(lo::F, hi::F, n::Integer, closed::Symbol=:left) where F
9696
len += one(F)
9797
end
9898
end
99-
Base.floatrange(start,step,len,divisor)
99+
Base.floatrange(start,step,Int(len),divisor)
100100
end
101101

102102
histrange(vs::NTuple{N,AbstractVector},nbins::NTuple{N,Integer},closed::Symbol) where {N} =

0 commit comments

Comments
 (0)