Skip to content

Commit 9da171f

Browse files
author
Katharine Hyatt
committed
Loosen annotation for 1.10
1 parent b52ce92 commit 9da171f

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
@@ -558,7 +558,7 @@ function EnzymeRules.forward(
558558
::Type{RT},
559559
f::Const{<:Union{typeof(eigh_trunc!), typeof(eig_trunc!)}},
560560
DV::Annotation,
561-
strategy::Const{<:TruncationStrategy},
561+
strategy::Annotation{<:TruncationStrategy},
562562
) where {RT}
563563
D, V = DV.val
564564
ind = MatrixAlgebraKit.findtruncated(diagview(D), strategy.val)
@@ -583,7 +583,7 @@ function EnzymeRules.forward(
583583
::Type{RT},
584584
f::Const{typeof(svd_trunc!)},
585585
USVᴴ::Annotation,
586-
strategy::Const{<:TruncationStrategy},
586+
strategy::Annotation{<:TruncationStrategy},
587587
) where {RT}
588588
U, S, Vᴴ = USVᴴ.val
589589
ind = MatrixAlgebraKit.findtruncated_svd(diagview(S), strategy.val)

0 commit comments

Comments
 (0)