Skip to content

Commit 3d29a94

Browse files
committed
Plop
1 parent 63412a2 commit 3d29a94

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ version = "0.9.0"
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
88
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
99
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
10-
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1110
LinearMaps = "7a12625a-238d-50fd-b39a-03d52299707e"
1211
LinearOperators = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125"
1312

@@ -35,7 +34,6 @@ ForwardDiff = "0.10.36, 1"
3534
JET = "0.9, 0.10"
3635
JuliaFormatter = "2.1.2"
3736
Krylov = "0.9.6, 0.10"
38-
LinearAlgebra = "1.10"
3937
LinearMaps = "3.11.4"
4038
LinearOperators = "2.8.0"
4139
NLsolve = "4.5.1"

test/utils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
using ADTypes
2-
using ADTypes: ForwardMode, ReverseMode
2+
using ADTypes: ForwardMode, ReverseMode, ForwardOrReverseMode
33
using ChainRulesCore
44
using ChainRulesTestUtils
55
using ComponentArrays
66
import DifferentiationInterface as DI
77
using ForwardDiff: ForwardDiff
88
import ImplicitDifferentiation as ID
9-
using ImplicitDifferentiation: ImplicitFunction
9+
using ImplicitDifferentiation: ImplicitFunction, prepare_implicit
1010
using JET
1111
using LinearAlgebra
1212
using Random: rand!
@@ -165,7 +165,7 @@ function test_implicit_rrule(scen::Scenario)
165165
@test dx dx_true
166166
end
167167
@testset "Unprepared" begin
168-
(y, z), pb = rrule(ZygoteRuleConfig(), implicit, scen.x, scen.args...)
168+
(y, z), pb = rrule_via_ad(ZygoteRuleConfig(), implicit, scen.x, scen.args...)
169169
dimpl, dx = pb((dy, dz))
170170
@test y y_true
171171
@test z == z_true

0 commit comments

Comments
 (0)