Skip to content

Commit 78e19a9

Browse files
committed
refactor: remove Symbolics
1 parent 5f76313 commit 78e19a9

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ NLSolvers = "337daf1e-9722-11e9-073e-8b9effe078ba"
4444
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
4545
SIAMFANLEquations = "084e46ad-d928-497d-ad5e-07fa361a48c4"
4646
SpeedMapping = "f1835b91-879b-4a3f-a438-e4baacf14412"
47-
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
4847
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
4948

5049
[extensions]
@@ -57,7 +56,6 @@ NonlinearSolveNLSolversExt = "NLSolvers"
5756
NonlinearSolveNLsolveExt = "NLsolve"
5857
NonlinearSolveSIAMFANLEquationsExt = "SIAMFANLEquations"
5958
NonlinearSolveSpeedMappingExt = "SpeedMapping"
60-
NonlinearSolveSymbolicsExt = "Symbolics"
6159
NonlinearSolveZygoteExt = "Zygote"
6260

6361
[compat]

ext/NonlinearSolveSymbolicsExt.jl

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/NonlinearSolve.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ using SciMLJacobianOperators: AbstractJacobianOperator, JacobianOperator, VecJac
3737
using SparseDiffTools: SparseDiffTools, AbstractSparsityDetection,
3838
ApproximateJacobianSparsity, JacPrototypeSparsityDetection,
3939
NoSparsityDetection, PrecomputedJacobianColorvec,
40-
SymbolicsSparsityDetection, init_jacobian, sparse_jacobian,
41-
sparse_jacobian!, sparse_jacobian_cache
40+
init_jacobian, sparse_jacobian, sparse_jacobian!,
41+
sparse_jacobian_cache
4242
using StaticArraysCore: StaticArray, SVector, SArray, MArray, Size, SMatrix
4343
using SymbolicIndexingInterface: SymbolicIndexingInterface, ParameterIndexingProxy,
4444
symbolic_container, parameter_values, state_values, getu,
@@ -55,6 +55,7 @@ using ForwardDiff: ForwardDiff, Dual
5555

5656
## Sparse AD Support
5757
using SparseArrays: AbstractSparseMatrix, SparseMatrixCSC
58+
using SparseConnectivityTracer: TracerSparsityDetector
5859

5960
@reexport using SciMLBase, SimpleNonlinearSolve
6061

src/internal/jacobian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ end
197197
function sparsity_detection_alg(f::NonlinearFunction, ad::AutoSparse)
198198
if f.sparsity === nothing
199199
if f.jac_prototype === nothing
200-
is_extension_loaded(Val(:Symbolics)) && return SymbolicsSparsityDetection()
200+
# is_extension_loaded(Val(:Symbolics)) && return SymbolicsSparsityDetection()
201201
return ApproximateJacobianSparsity()
202202
else
203203
jac_prototype = f.jac_prototype

0 commit comments

Comments
 (0)