Skip to content

Commit

Permalink
Improve version bound
Browse files Browse the repository at this point in the history
Co-authored-by: David Widmann <devmotion@users.noreply.github.com>
  • Loading branch information
simsurace and devmotion authored Oct 4, 2023
1 parent a0b38f1 commit d5a8446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rulesets/LinearAlgebra/dense.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Check warning on line 403 in src/rulesets/LinearAlgebra/dense.jl

View workflow job for this annotation

GitHub Actions / format

[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/rulesets/LinearAlgebra/dense.jl:403:- function frule((_, Δx, Δy), ::typeof(kron), x::AbstractVecOrMat{<:Number}, y::AbstractVecOrMat{<:Number}) src/rulesets/LinearAlgebra/dense.jl:410:+ function frule( src/rulesets/LinearAlgebra/dense.jl:411:+ (_, Δx, Δy), src/rulesets/LinearAlgebra/dense.jl:412:+ ::typeof(kron), src/rulesets/LinearAlgebra/dense.jl:413:+ x::AbstractVecOrMat{<:Number}, src/rulesets/LinearAlgebra/dense.jl:414:+ y::AbstractVecOrMat{<:Number}, src/rulesets/LinearAlgebra/dense.jl:415:+ )
return kron(x, y), kron(Δx, y) + kron(x, Δy)
end
Expand Down

0 comments on commit d5a8446

Please sign in to comment.