Skip to content

Commit

Permalink
add type SimulationInputs
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bossart committed Feb 2, 2024
1 parent f5ae501 commit 8139c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/simulation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function _get_diffeq_problem(
return
end

function get_history_function(simulation_inputs)
function get_history_function(simulation_inputs::SimulationInputs)
x0 = get_initial_conditions(simulation_inputs)
h(p, t; idxs = nothing) = typeof(idxs) <: Number ? x0[idxs] : x0
return h
Expand Down

0 comments on commit 8139c06

Please sign in to comment.