Skip to content

Commit 0e55bf8

Browse files
committed
Update MatrixAlgebraKitEnzymeExt.jl
Apply Lukas' suggestion
1 parent 62881ef commit 0e55bf8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ext/MatrixAlgebraKitEnzymeExt/MatrixAlgebraKitEnzymeExt.jl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ for (f, pf) in (
130130
config::EnzymeRules.FwdConfigWidth{1},
131131
func::Const{typeof($f)},
132132
::Type{RT},
133-
A::Annotation{TA},
133+
A::Annotation,
134134
arg::Annotation,
135135
alg::Const{<:MatrixAlgebraKit.AbstractAlgorithm},
136-
) where {TA, RT}
136+
) where {RT}
137137
A_is_arg1 = !isa(A, Const) && A.val === arg.val[1]
138138
A_is_arg2 = !isa(A, Const) && A.val === arg.val[2]
139139
A_is_arg = A_is_arg1 || A_is_arg2

0 commit comments

Comments
 (0)