Skip to content

Commit cedff62

Browse files
author
Michael Abbott
committed
restore Base.last hack for old LV
1 parent 4a96e91 commit cedff62

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/macro.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,8 @@ padmodclamp_pair(A, inds, store, assign=false) = begin
494494
elseif ex.args[1] == :pad && length(ex.args) >= 2
495495
i = ex.args[2]
496496
if !all(==(0), ex.args[3:end]) || length(ex.args) == 2
497-
push!(nopadif, :($i >= first(axes($A,$d))), :($i <= last(axes($A,$d)))) # allows avx
497+
# push!(nopadif, :($i >= first(axes($A,$d))), :($i <= last(axes($A,$d)))) # allows avx
498+
push!(nopadif, :($i >= first(axes($A,$d))), :($i <= Base.last(axes($A,$d)))) # allows avx... but LV 0.8, Julia 1.4, needs Base?
498499
end
499500
return i
500501
end

0 commit comments

Comments
 (0)