From 8da575b6d3a072597a41e39edeb179c516dff74e Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Wed, 24 May 2023 12:21:40 +0200 Subject: [PATCH] Remove constraint in rrule (#50) --- ext/ImplicitDifferentiationChainRulesExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ImplicitDifferentiationChainRulesExt.jl b/ext/ImplicitDifferentiationChainRulesExt.jl index a2518e5..d098356 100644 --- a/ext/ImplicitDifferentiationChainRulesExt.jl +++ b/ext/ImplicitDifferentiationChainRulesExt.jl @@ -15,7 +15,7 @@ Keyword arguments are given to both `implicit.forward` and `implicit.conditions` """ function ChainRulesCore.rrule( rc::RuleConfig, implicit::ImplicitFunction, x::AbstractArray{R}; kwargs... -) where {R<:Real} +) where {R} conditions = implicit.conditions linear_solver = implicit.linear_solver