Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 774f226

Browse files
author
Avik Pal
committed
Conditional dep on Zygote
1 parent b3d079c commit 774f226

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/SparseDiffTools.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export contract_color,
3131
ForwardColorJacCache,
3232
auto_jacvec,auto_jacvec!,
3333
num_jacvec,num_jacvec!,
34-
auto_vecjac,auto_vecjac!,
3534
num_vecjac,num_vecjac!,
3635
num_hesvec,num_hesvec!,
3736
numauto_hesvec,numauto_hesvec!,
@@ -51,16 +50,16 @@ include("coloring/greedy_star2_coloring.jl")
5150
include("coloring/matrix2graph.jl")
5251
include("differentiation/compute_jacobian_ad.jl")
5352
include("differentiation/jaches_products.jl")
54-
include("differentiation/vecjac_products.jl")
5553

5654
Base.@pure __parameterless_type(T) = Base.typename(T).wrapper
5755
parameterless_type(x) = parameterless_type(typeof(x))
5856
parameterless_type(x::Type) = __parameterless_type(x)
5957

6058
function __init__()
6159
@require Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" begin
62-
export numback_hesvec, numback_hesvec!, autoback_hesvec, autoback_hesvec!
60+
export numback_hesvec, numback_hesvec!, autoback_hesvec, autoback_hesvec!, auto_vecjac,auto_vecjac!,
6361

62+
include("differentiation/vecjac_products_zygote.jl")
6463
include("differentiation/jaches_products_zygote.jl")
6564
end
6665
end
File renamed without changes.

0 commit comments

Comments
 (0)