From 2a1aced8b166a88ea96931a5168e31194753f9da Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Fri, 2 Nov 2012 23:36:57 -0700 Subject: [PATCH] Change iteration order to match recent changes to product() iterator: https://github.com/JuliaLang/julia/pull/1488 --- test/iterators.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/iterators.jl b/test/iterators.jl index 9ba000b5af36d..878af047b4104 100644 --- a/test/iterators.jl +++ b/test/iterators.jl @@ -43,4 +43,4 @@ m2v(m) = reshape(m, length(m)) @assert_buildvec product(1:2,1:0,1:1) [] @assert_buildvec product(1:2,1:1) m2v([(i,j) for i=1:2, j=1:1]) @assert_buildvec product(1:1,1:3) m2v([(i,j) for i=1:1, j=1:3]) -@assert_buildvec product(2:4,1:3,4:8) m2v([(i,j,k) for i=2:4, j=1:3, k=4:8]) +@assert_buildvec product(2:4,1:3,4:8) m2v([(i,j,k) for k=4:8, j=1:3, i=2:4])