From 141bc66cc8c16ea961a8c1357748383a1e008a35 Mon Sep 17 00:00:00 2001 From: Lyndon White Date: Wed, 10 Jun 2020 21:53:55 +0100 Subject: [PATCH] fix typo --- src/rulesets/LinearAlgebra/factorization.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rulesets/LinearAlgebra/factorization.jl b/src/rulesets/LinearAlgebra/factorization.jl index e082d56e9..84caab6ea 100644 --- a/src/rulesets/LinearAlgebra/factorization.jl +++ b/src/rulesets/LinearAlgebra/factorization.jl @@ -7,7 +7,7 @@ using LinearAlgebra.BLAS: gemv, gemv!, gemm!, trsm!, axpy!, ger! function rrule(::typeof(svd), X::AbstractMatrix{<:Real}) F = svd(X) - function svd_pullback(Ȳ::Composite}) + function svd_pullback(Ȳ::Composite) ∂X = @thunk(svd_rev(F, Ȳ.U, Ȳ.S, Ȳ.V)) return (NO_FIELDS, ∂X) end