Skip to content

Commit 5f8ab91

Browse files
authored
Length of tuple (#439)
* 1:length(tup) instead of eachindex(tup) * bump version
1 parent c20c4de commit 5f8ab91

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "LoopVectorization"
22
uuid = "bdcacae8-1622-11e9-2a5c-532679323890"
33
authors = ["Chris Elrod <[email protected]>"]
4-
version = "0.12.133"
4+
version = "0.12.134"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/codegen/lower_threads.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ function thread_two_loops_expr(
819819
$_turbo_call_
820820
var"##do#thread##" || $retexpr
821821
var"#thread#id#" = 0x00000000
822-
for var"#i#" eachindex(var"#threads#tuple#")
822+
for var"#i#" 1:length(var"#threads#tuple#")
823823
var"#threads#" = var"#threads#tuple#"[var"#i#"]
824824
var"#thread#mask#" = PolyesterWeave.mask(var"#threads#")
825825
var"#threads#remain#" =

0 commit comments

Comments
 (0)