Skip to content

Commit c8615cd

Browse files
committed
Update mapping.jl
Fix issue with input bindings forcing multirate runtime.
1 parent da193bc commit c8615cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/mtg/mapping/mapping.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,8 @@ _rates_compatible(rate1, rate2) = isnothing(rate1) || isnothing(rate2) || rate1
644644
function _spec_declares_multirate(spec::ModelSpec)
645645
model = model_(spec)
646646
!isnothing(timestep(spec)) && return true
647-
!isempty(keys(input_bindings(spec))) && return true
647+
# Explicit input bindings are also used for same-rate disambiguation.
648+
# They should not, by themselves, force multirate runtime.
648649
!isempty(keys(meteo_bindings(spec))) && return true
649650
!isnothing(meteo_window(spec)) && return true
650651
!isempty(keys(output_routing(spec))) && return true

0 commit comments

Comments
 (0)