We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a579504 commit 469e8adCopy full SHA for 469e8ad
test/rulesets/LinearAlgebra/structured.jl
@@ -121,19 +121,13 @@
121
@testset "$f(::Adjoint{$T, Vector{$T})" begin
122
a = randn(T, n)'
123
ā = randn(T, n)'
124
- y = f(a)
125
- ȳ = randn(T, n)
126
-
127
- test_rrule(f, a ⊢ ā; output_tangent=ȳ)
+ test_rrule(f, a ⊢ ā; output_tangent=randn(T, n))
128
end
129
130
@testset "$f(::Transpose{$T, Vector{$T})" begin
131
a = transpose(randn(T, n))
132
ā = transpose(randn(T, n))
133
134
135
136
137
138
139
@testset "$T" for T in (UpperTriangular, LowerTriangular)
0 commit comments