Skip to content

Commit c5fe914

Browse files
Make the algorithm type be inactive
1 parent 39b3717 commit c5fe914

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/LinearSolveEnzymeExt.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ using Enzyme
88

99
using EnzymeCore
1010

11-
@inline EnzymeCore.EnzymeRules.inactive_type(v::Type{LinearSolve.KrylovJL}) = true
12-
@inline EnzymeCore.EnzymeRules.inactive_type(v::Type{LinearSolve.Krylov.GmresSolver}) = true
11+
@inline EnzymeCore.EnzymeRules.inactive_type(::Type{<:LinearSolve.SciMLLinearSolveAlgorithm}) = true
1312

1413
function EnzymeCore.EnzymeRules.forward(
1514
func::Const{typeof(LinearSolve.init)}, ::Type{RT}, prob::EnzymeCore.Annotation{LP},

0 commit comments

Comments
 (0)