Skip to content

Commit

Permalink
Merge pull request #1063 from SciML/ChrisRackauckas-patch-6
Browse files Browse the repository at this point in the history
Remove recompile_invalidations
  • Loading branch information
ChrisRackauckas authored Jun 27, 2024
2 parents 4bf2d92 + 3a3ebaf commit 609cca2
Showing 1 changed file with 97 additions and 99 deletions.
196 changes: 97 additions & 99 deletions src/DiffEqBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,105 +6,103 @@ end

import PrecompileTools

PrecompileTools.@recompile_invalidations begin
using ArrayInterface

using StaticArraysCore # data arrays

using LinearAlgebra, Printf

using DocStringExtensions

using FunctionWrappers: FunctionWrapper

using MuladdMacro, Parameters

using Statistics

using FastBroadcast: @.., True, False

using Static: reduce_tup

import RecursiveArrayTools
import SparseArrays
import TruncatedStacktraces

using Setfield

using ForwardDiff

using EnumX

using Markdown

using ConcreteStructs: @concrete
using FastClosures: @closure

# Could be made optional/glue
import PreallocationTools

import FunctionWrappersWrappers

using SciMLBase

using SciMLOperators: AbstractSciMLOperator, AbstractSciMLScalarOperator

using SciMLBase: @def, DEIntegrator, AbstractDEProblem,
AbstractDiffEqInterpolation,
DECallback, AbstractDEOptions, DECache, AbstractContinuousCallback,
AbstractDiscreteCallback, AbstractLinearProblem,
AbstractNonlinearProblem,
AbstractOptimizationProblem, AbstractSteadyStateProblem,
AbstractJumpProblem,
AbstractNoiseProblem, AbstractEnsembleProblem,
AbstractDynamicalODEProblem,
AbstractDEAlgorithm, StandardODEProblem, AbstractIntegralProblem,
AbstractSensitivityAlgorithm, AbstractODEAlgorithm,
AbstractSDEAlgorithm, AbstractDDEAlgorithm, AbstractDAEAlgorithm,
AbstractSDDEAlgorithm, AbstractRODEAlgorithm,
DAEInitializationAlgorithm,
AbstractSteadyStateAlgorithm, AbstractODEProblem,
AbstractDiscreteProblem,
AbstractSDEProblem, AbstractRODEProblem, AbstractDDEProblem,
AbstractDAEProblem, AbstractSDDEProblem, AbstractBVProblem,
AbstractTimeseriesSolution, AbstractNoTimeSolution, numargs,
AbstractODEFunction, AbstractSDEFunction, AbstractRODEFunction,
AbstractDDEFunction, AbstractSDDEFunction, AbstractDAEFunction,
AbstractNonlinearFunction, AbstractEnsembleSolution,
AbstractODESolution, AbstractRODESolution, AbstractDAESolution,
AbstractDDESolution,
EnsembleAlgorithm, EnsembleSolution, EnsembleSummary,
NonlinearSolution,
TimeGradientWrapper, TimeDerivativeWrapper, UDerivativeWrapper,
UJacobianWrapper, ParamJacobianWrapper, JacobianWrapper,
check_error!, has_jac, has_tgrad, has_Wfact, has_Wfact_t, has_paramjac,
AbstractODEIntegrator, AbstractSDEIntegrator, AbstractRODEIntegrator,
AbstractDDEIntegrator, AbstractSDDEIntegrator,
AbstractDAEIntegrator, unwrap_cache, has_reinit, reinit!,
postamble!, last_step_failed, islinear, has_stats,
initialize_dae!, build_solution, solution_new_retcode,
solution_new_tslocation, plot_indices,
NullParameters, isinplace, AbstractADType, AbstractDiscretization,
DISCRETE_OUTOFPLACE_DEFAULT, DISCRETE_INPLACE_DEFAULT,
has_analytic, calculate_solution_errors!, AbstractNoiseProcess,
has_colorvec, parameterless_type, undefined_exports,
is_diagonal_noise, AbstractDiffEqFunction, sensitivity_solution,
interp_summary, AbstractHistoryFunction, LinearInterpolation,
ConstantInterpolation, HermiteInterpolation, SensitivityInterpolation,
NoAD, @add_kwonly,
calculate_ensemble_errors, DEFAULT_UPDATE_FUNC, isconstant,
DEFAULT_REDUCTION, isautodifferentiable,
isadaptive, isdiscrete, has_syms, AbstractAnalyticalSolution,
RECOMPILE_BY_DEFAULT, wrap_sol, has_destats

import SciMLBase: solve, init, step!, solve!, __init, __solve, update_coefficients!,
update_coefficients, isadaptive, wrapfun_oop, wrapfun_iip,
unwrap_fw, promote_tspan, set_u!, set_t!, set_ut!

import SciMLBase: AbstractDiffEqLinearOperator # deprecation path

import Tricks
end
using ArrayInterface

using StaticArraysCore # data arrays

using LinearAlgebra, Printf

using DocStringExtensions

using FunctionWrappers: FunctionWrapper

using MuladdMacro, Parameters

using Statistics

using FastBroadcast: @.., True, False

using Static: reduce_tup

import RecursiveArrayTools
import SparseArrays
import TruncatedStacktraces

using Setfield

using ForwardDiff

using EnumX

using Markdown

using ConcreteStructs: @concrete
using FastClosures: @closure

# Could be made optional/glue
import PreallocationTools

import FunctionWrappersWrappers

using SciMLBase

using SciMLOperators: AbstractSciMLOperator, AbstractSciMLScalarOperator

using SciMLBase: @def, DEIntegrator, AbstractDEProblem,
AbstractDiffEqInterpolation,
DECallback, AbstractDEOptions, DECache, AbstractContinuousCallback,
AbstractDiscreteCallback, AbstractLinearProblem,
AbstractNonlinearProblem,
AbstractOptimizationProblem, AbstractSteadyStateProblem,
AbstractJumpProblem,
AbstractNoiseProblem, AbstractEnsembleProblem,
AbstractDynamicalODEProblem,
AbstractDEAlgorithm, StandardODEProblem, AbstractIntegralProblem,
AbstractSensitivityAlgorithm, AbstractODEAlgorithm,
AbstractSDEAlgorithm, AbstractDDEAlgorithm, AbstractDAEAlgorithm,
AbstractSDDEAlgorithm, AbstractRODEAlgorithm,
DAEInitializationAlgorithm,
AbstractSteadyStateAlgorithm, AbstractODEProblem,
AbstractDiscreteProblem,
AbstractSDEProblem, AbstractRODEProblem, AbstractDDEProblem,
AbstractDAEProblem, AbstractSDDEProblem, AbstractBVProblem,
AbstractTimeseriesSolution, AbstractNoTimeSolution, numargs,
AbstractODEFunction, AbstractSDEFunction, AbstractRODEFunction,
AbstractDDEFunction, AbstractSDDEFunction, AbstractDAEFunction,
AbstractNonlinearFunction, AbstractEnsembleSolution,
AbstractODESolution, AbstractRODESolution, AbstractDAESolution,
AbstractDDESolution,
EnsembleAlgorithm, EnsembleSolution, EnsembleSummary,
NonlinearSolution,
TimeGradientWrapper, TimeDerivativeWrapper, UDerivativeWrapper,
UJacobianWrapper, ParamJacobianWrapper, JacobianWrapper,
check_error!, has_jac, has_tgrad, has_Wfact, has_Wfact_t, has_paramjac,
AbstractODEIntegrator, AbstractSDEIntegrator, AbstractRODEIntegrator,
AbstractDDEIntegrator, AbstractSDDEIntegrator,
AbstractDAEIntegrator, unwrap_cache, has_reinit, reinit!,
postamble!, last_step_failed, islinear, has_stats,
initialize_dae!, build_solution, solution_new_retcode,
solution_new_tslocation, plot_indices,
NullParameters, isinplace, AbstractADType, AbstractDiscretization,
DISCRETE_OUTOFPLACE_DEFAULT, DISCRETE_INPLACE_DEFAULT,
has_analytic, calculate_solution_errors!, AbstractNoiseProcess,
has_colorvec, parameterless_type, undefined_exports,
is_diagonal_noise, AbstractDiffEqFunction, sensitivity_solution,
interp_summary, AbstractHistoryFunction, LinearInterpolation,
ConstantInterpolation, HermiteInterpolation, SensitivityInterpolation,
NoAD, @add_kwonly,
calculate_ensemble_errors, DEFAULT_UPDATE_FUNC, isconstant,
DEFAULT_REDUCTION, isautodifferentiable,
isadaptive, isdiscrete, has_syms, AbstractAnalyticalSolution,
RECOMPILE_BY_DEFAULT, wrap_sol, has_destats

import SciMLBase: solve, init, step!, solve!, __init, __solve, update_coefficients!,
update_coefficients, isadaptive, wrapfun_oop, wrapfun_iip,
unwrap_fw, promote_tspan, set_u!, set_t!, set_ut!

import SciMLBase: AbstractDiffEqLinearOperator # deprecation path

import Tricks

using Reexport
Reexport.@reexport using SciMLBase
Expand Down

0 comments on commit 609cca2

Please sign in to comment.