Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaLGandhi committed Jun 24, 2024
1 parent 006e2fb commit 4b987e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gauss_adjoint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function _adjoint_sensitivities(sol, sensealg::GaussAdjoint, alg; t = nothing,

p = SymbolicIndexingInterface.parameter_values(sol)
if !isscimlstructure(p) && !isfunctor(p)
throw(SciMLStructuresCompatiblityError())
throw(SciMLStructuresCompatibilityError())
end

if p === nothing || p isa SciMLBase.NullParameters
Expand All @@ -553,7 +553,7 @@ function _adjoint_sensitivities(sol, sensealg::GaussAdjoint, alg; t = nothing,
elseif isfunctor(p)
tunables, repack = Functors.functor(p)
else
throw(SciMLStructuresCompatiblityError())
throw(SciMLStructuresCompatibilityError())
end
integrand = GaussIntegrand(sol, sensealg, checkpoints, dgdp_continuous)
integrand_values = IntegrandValuesSum(allocate_zeros(tunables))
Expand Down

0 comments on commit 4b987e0

Please sign in to comment.