From f104172d019a4b2d7de5f9e04598098e1b48170e Mon Sep 17 00:00:00 2001 From: Simone Carlo Surace <51025924+simsurace@users.noreply.github.com> Date: Tue, 6 Feb 2024 21:53:28 +0100 Subject: [PATCH] Improve version bound Co-authored-by: David Widmann --- src/rulesets/LinearAlgebra/dense.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rulesets/LinearAlgebra/dense.jl b/src/rulesets/LinearAlgebra/dense.jl index f6e713a13..11f0c202b 100644 --- a/src/rulesets/LinearAlgebra/dense.jl +++ b/src/rulesets/LinearAlgebra/dense.jl @@ -399,7 +399,7 @@ end ##### `kron` ##### -@static if VERSION ≥ v"1.9.0" +@static if VERSION ≥ v"1.9.0-DEV.1267" function frule((_, Δx, Δy), ::typeof(kron), x::AbstractVecOrMat{<:Number}, y::AbstractVecOrMat{<:Number}) return kron(x, y), kron(Δx, y) + kron(x, Δy) end