Skip to content

Commit abf1443

Browse files
committed
Fix tensor test and push.
1 parent 5eea6e0 commit abf1443

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
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.7.1"
4+
version = "0.7.2"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"

test/tensors.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ end
5050
A = rand(LIM, LIM, LA, LA);
5151
B = rand(LIM, LIM, LIM, LIM);
5252

53-
C1 = Array{Float64}(undef, LIM, LIM, LA, LA);
54-
C2 = similar(C1); C3 = similar(C1);
53+
C1 = fill(-999.999, LIM, LIM, LA, LA);
54+
C2 = fill(-999.999, LIM, LIM, LA, LA);
55+
C3 = fill(-999.999, LIM, LIM, LA, LA);
56+
# C1 = Array{Float64}(undef, LIM, LIM, LA, LA);
57+
# C2 = similar(C1); C3 = similar(C1);
5558

5659
@time contract!(C1, A, B)
5760
@time contracttest1!(C2, A, B)

0 commit comments

Comments
 (0)