Closed dweindl closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.46%. Comparing base (
2558763
) to head (e2501a9
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
To confirm we're thinking the same: the only thing this changes is that if the sensitivity method is adjoint, then the
sensi_orders = (0,)
calls of the objective will be called throughself.calculate_directly(...)
instead ofself.call_amici_twice(...)
, right?
Correct.
It was necessary because checking for sensitivity method alone is insufficient. sensitivity method and sensitivity order jointly decide whether sensitivities are to be computed.
Currently model simulation is run twice, even when no sensitivities are requested and the optimal inner parameters could be applied directly.