Skip to content

Commit 1b63412

Browse files
committed
fix reference tests
1 parent 24c50cc commit 1b63412

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/build_function_tests/stencil-broadcast-inplace.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
ˍ₋out_1 = (view)(ˍ₋out, 1:6, 1:6)
66
ˍ₋out_1 .= 0
77
ˍ₋out_2 = (view)(ˍ₋out, 2:5, 2:5)
8-
for (j, j′) = zip(1:4, reset_to_one(1:4))
9-
for (i, i′) = zip(1:4, reset_to_one(1:4))
8+
for (j, j′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4)))
9+
for (i, i′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4)))
1010
ˍ₋out_2[i′, j′] = (+)(ˍ₋out_2[i′, j′], (+)(1, (getindex)(ˍ₋out_2_input_1, i, j)))
1111
end
1212
end

test/build_function_tests/stencil-broadcast-outplace.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
ˍ₋out_1 = (view)(ˍ₋out, 1:6, 1:6)
55
ˍ₋out_1 .= 0
66
ˍ₋out_2 = (view)(ˍ₋out, 2:5, 2:5)
7-
for (j, j′) = zip(1:4, reset_to_one(1:4))
8-
for (i, i′) = zip(1:4, reset_to_one(1:4))
7+
for (j, j′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4)))
8+
for (i, i′) = zip(Base.OneTo(4), reset_to_one(Base.OneTo(4)))
99
ˍ₋out_2[i′, j′] = (+)(ˍ₋out_2[i′, j′], (+)(1, (getindex)(ˍ₋out_2_input_1, i, j)))
1010
end
1111
end

test/build_function_tests/transpose-inplace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:(function (x,)
2-
let ˍ₋out = zeros(Float64, map(length, (1:4, 1:4)))
2+
let ˍ₋out = zeros(Float64, map(length, (Base.OneTo(4), Base.OneTo(4))))
33
begin
44
for (j, j′) = zip(1:4, reset_to_one(1:4))
55
for (i, i′) = zip(1:4, reset_to_one(1:4))

0 commit comments

Comments
 (0)