Skip to content

Commit 85eda7c

Browse files
committed
Fix mysterious 0.7 issue
1 parent 0bc92de commit 85eda7c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/core.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,10 @@ map!(*, A2, A, A)
240240
# Reductions (issue #55)
241241
A = AxisArray(collect(reshape(1:15,3,5)), :y, :x)
242242
B = @inferred(AxisArray(collect(reshape(1:15,3,5)), Axis{:y}(0.1:0.1:0.3), Axis{:x}(10:10:50)))
243-
for C in (A, B)
244-
for op in (sum, minimum) # together, cover both reduced_indices and reduced_indices0
243+
arrays = (A, B)
244+
functions = (sum, minimum)
245+
for C in arrays
246+
for op in functions # together, cover both reduced_indices and reduced_indices0
245247
axv = axisvalues(C)
246248
C1 = @inferred(op(C, 1))
247249
@test typeof(C1) == typeof(C)

0 commit comments

Comments
 (0)