@@ -6,6 +6,7 @@ using SparseArrays, LinearAlgebra, BandedMatrices, BlockBandedMatrices,
6
6
using BlockBandedMatrices: blocksize,nblocks
7
7
using ForwardDiff: Dual, jacobian, partials, DEFAULT_CHUNK_THRESHOLD
8
8
9
+ using Requires
9
10
using Cassette
10
11
import Cassette: tag, untag, Tagged, metadata, hasmetadata, istagged, canrecurse
11
12
import Cassette: tagged_new_tuple, ContextTagged, BindingMeta, DisableHooks, nametype
@@ -40,13 +41,17 @@ include("coloring/greedy_star2_coloring.jl")
40
41
include (" coloring/matrix2graph.jl" )
41
42
include (" differentiation/compute_jacobian_ad.jl" )
42
43
include (" differentiation/jaches_products.jl" )
43
- include (" program_sparsity/program_sparsity.jl" )
44
- include (" program_sparsity/sparsity_tracker.jl" )
45
- include (" program_sparsity/path.jl" )
46
- include (" program_sparsity/take_all_branches.jl" )
47
- include (" program_sparsity/terms.jl" )
48
- include (" program_sparsity/linearity.jl" )
49
- include (" program_sparsity/hessian.jl" )
50
- include (" program_sparsity/blas.jl" )
44
+ function __init__ ()
45
+ @require Cassette= " 7057c7e9-c182-5462-911a-8362d720325c" begin
46
+ include (" program_sparsity/program_sparsity.jl" )
47
+ include (" program_sparsity/sparsity_tracker.jl" )
48
+ include (" program_sparsity/path.jl" )
49
+ include (" program_sparsity/take_all_branches.jl" )
50
+ include (" program_sparsity/terms.jl" )
51
+ include (" program_sparsity/linearity.jl" )
52
+ include (" program_sparsity/hessian.jl" )
53
+ include (" program_sparsity/blas.jl" )
54
+ end
55
+ end
51
56
52
57
end # module
0 commit comments