Skip to content

Commit 5166ddc

Browse files
committed
Fix <1.7 load error
1 parent 9f7ffb7 commit 5166ddc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal_recipes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99
return :($(x.start) : $(step(x)) : $(x.stop))
1010
end
1111

12-
@latexrecipe function f(x::StepRangeLen{T, R, S, L}; expand_ranges=false, expand_step_ranges=true) where {T, R, S, L}
12+
@latexrecipe function f(x::StepRangeLen{T, <:Any, <:Any}; expand_ranges=false, expand_step_ranges=true) where {T}
1313
(expand_ranges || expand_step_ranges) && return collect(x)
1414
return :($(T(x.ref + (x.offset-1)*step(x))) : $(T(x.step)) : $(T(x.ref + (x.len-1)*x.step)))
1515
end

0 commit comments

Comments
 (0)