From 22d3e725bffe7c7ca0ff4841aec4572ddaf045b0 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Thu, 28 Sep 2023 21:56:59 -0600 Subject: [PATCH] add min_res --- src/simulation/simulation_state.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simulation/simulation_state.jl b/src/simulation/simulation_state.jl index 05b5c3d482..12aa0365e1 100644 --- a/src/simulation/simulation_state.jl +++ b/src/simulation/simulation_state.jl @@ -135,6 +135,7 @@ function _initialize_system_states!( decision_states = get_decision_states(sim_state) emulator_states = get_system_states(sim_state) emulation_container = get_optimization_container(emulation_model) + min_res = minimum([v.resolution for v in values(params)]) for field in fieldnames(DatasetContainer) field_containers = getfield(emulation_container, field)