Skip to content

Commit

Permalink
another dang nameof
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Nov 11, 2024
1 parent d6b12ee commit f38cb2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqCore/src/initialize_dae.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function _initialize_dae!(integrator, prob::Union{ODEProblem, DAEProblem},
isAD = if initializeprob.u0 === nothing
AutoForwardDiff
elseif has_autodiff(integrator.alg)
nameof(alg_autodiff(integrator.alg)) == :AutoForwardDiff
alg_autodiff(integrator.alg) isa AutoForwardDiff
else
true
end
Expand Down

0 comments on commit f38cb2e

Please sign in to comment.