From 4870e5099a4c3e33ae45c7f6cf503a90eb237d35 Mon Sep 17 00:00:00 2001 From: Sheehan Olver Date: Tue, 28 Mar 2023 12:59:35 +0100 Subject: [PATCH] support steprangelen --- src/infrange.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/infrange.jl b/src/infrange.jl index 403e50a..de15565 100644 --- a/src/infrange.jl +++ b/src/infrange.jl @@ -20,6 +20,8 @@ function (:)(start::T, step::T, stop::PosInfinity) where {T<:Real} InfStepRange(start,step) end +FillArrays.steprangelen(start, step, ::PosInfinity) = InfStepRange(start, step) + # this is needed for showarray (:)(::PosInfinity, ::PosInfinity) = 1:0