Skip to content

Commit 8b94cfc

Browse files
Simone Carlo Suracesimsurace
authored andcommitted
Change dimensions to make them recognizable
1 parent b2d4f4a commit 8b94cfc

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

test/rulesets/LinearAlgebra/dense.jl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,16 +162,16 @@
162162
@testset "kron" begin
163163
@testset "AbstractVecOrMat{$T}" for T in (Float64, ComplexF64)
164164
@testset "frule" begin
165-
test_frule(kron, randn(T, 3), randn(T, 3))
166-
test_frule(kron, randn(T, 3, 2), randn(T, 3))
167-
test_frule(kron, randn(T, 3), randn(T, 3, 4))
168-
test_frule(kron, randn(T, 3, 4), randn(T, 2, 2))
165+
test_frule(kron, randn(T, 2), randn(T, 3))
166+
test_frule(kron, randn(T, 2, 3), randn(T, 5))
167+
test_frule(kron, randn(T, 2), randn(T, 3, 5))
168+
test_frule(kron, randn(T, 2, 3), randn(T, 5, 7))
169169
end
170170
@testset "rrule" begin
171-
test_rrule(kron, randn(T, 3), randn(T, 3))
172-
test_rrule(kron, randn(T, 3, 2), randn(T, 3))
173-
test_rrule(kron, randn(T, 3), randn(T, 3, 4))
174-
test_rrule(kron, randn(T, 3, 4), randn(T, 2, 2))
171+
test_rrule(kron, randn(T, 2), randn(T, 3))
172+
test_rrule(kron, randn(T, 2, 3), randn(T, 5))
173+
test_rrule(kron, randn(T, 2), randn(T, 3, 5))
174+
test_rrule(kron, randn(T, 2, 3), randn(T, 5, 7))
175175
end
176176
end
177177
end

0 commit comments

Comments
 (0)