Skip to content

Commit f0aa710

Browse files
committed
Remove parametrized typing from getadjointsensitivities
1 parent 0cd3601 commit f0aa710

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Simulation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ By default uses the InterpolatingAdjoint algorithm with vector Jacobian products
459459
this assumes no changes in code branching during simulation, if that were to become no longer true, the Tracker
460460
based alternative algorithm is slower, but avoids this concern.
461461
"""
462-
function getadjointsensitivities(bsol::Q, target::String, solver::W; sensalg::W2=InterpolatingAdjoint(autojacvec=ReverseDiffVJP(false)),
463-
abstol::Float64=1e-6, reltol::Float64=1e-3, normalize=true, kwargs...) where {Q,W,W2}
462+
function getadjointsensitivities(bsol::Simulation, target::String, solver; sensalg=InterpolatingAdjoint(autojacvec=ReverseDiffVJP(false)),
463+
abstol::Float64=1e-6, reltol::Float64=1e-3, normalize=true, kwargs...)
464464
@assert target in bsol.names || target in ["T", "V", "P", "mass"]
465465

466466
pethane = 160

0 commit comments

Comments
 (0)