From 52f78033e1fe52a5a78a7a239ac032483077d632 Mon Sep 17 00:00:00 2001 From: Vaibhav Kumar Dixit Date: Sun, 5 May 2024 20:18:23 -0400 Subject: [PATCH] Update NonlinearSolve.jl --- src/NonlinearSolve.jl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/NonlinearSolve.jl b/src/NonlinearSolve.jl index ffa792ce9..73a88cc69 100644 --- a/src/NonlinearSolve.jl +++ b/src/NonlinearSolve.jl @@ -27,7 +27,7 @@ import PrecompileTools: @recompile_invalidations, @compile_workload, @setup_work import SciMLBase: AbstractNonlinearAlgorithm, JacobianWrapper, AbstractNonlinearProblem, AbstractSciMLOperator, NLStats, _unwrap_val, has_jac, isinplace - import SparseDiffTools: AbstractSparsityDetection, AutoSparseEnzyme + import SparseDiffTools: AbstractSparsityDetection import StaticArraysCore: StaticArray, SVector, SArray, MArray, Size, SMatrix, MMatrix import SymbolicIndexingInterface: SymbolicIndexingInterface, ParameterIndexingProxy, symbolic_container, parameter_values, state_values, @@ -36,8 +36,7 @@ end @reexport using ADTypes, SciMLBase, SimpleNonlinearSolve -const AbstractSparseADType = Union{ADTypes.AbstractSparseFiniteDifferences, - ADTypes.AbstractSparseForwardMode, ADTypes.AbstractSparseReverseMode} +const AbstractSparseADType = Union{ADTypes.AbstractSparseForwardMode, ADTypes.AbstractSparseReverseMode} # Type-Inference Friendly Check for Extension Loading is_extension_loaded(::Val) = false