Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit 4bd65ab

Browse files
author
Avik Pal
committed
Conditional dep on Zygote
1 parent 6f4219a commit 4bd65ab

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ SparseDiffTools = "47a9eef4-7e08-11e9-0b38-333d64bd3804"
2323
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2424
SuiteSparse = "4607b0f0-06f3-5cda-b6b1-a6196a1729e9"
2525
SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b"
26+
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2627

2728
[compat]
2829
BandedMatrices = "0.15.11, 0.16"

src/DiffEqOperators.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import LinearAlgebra: mul!, ldiv!, lmul!, rmul!, axpy!, opnorm, factorize, I
77
import DiffEqBase: update_coefficients!, isconstant
88
using SciMLBase: AbstractDiffEqLinearOperator, AbstractDiffEqCompositeOperator, DiffEqScaledOperator
99
import SciMLBase: getops
10+
using Zygote # SparseDiffTools has conditional dep on Zygote
1011
using SparseDiffTools
1112
using SparseArrays, ForwardDiff, BandedMatrices, NNlib, LazyArrays, BlockBandedMatrices, LoopVectorization
1213
using LazyBandedMatrices, ModelingToolkit

0 commit comments

Comments
 (0)