diff --git a/src/multiproblem_template.jl b/src/multiproblem_template.jl index 68a22a6..57d48de 100644 --- a/src/multiproblem_template.jl +++ b/src/multiproblem_template.jl @@ -128,11 +128,7 @@ function PSI.set_service_model!( for (id, sub_template) in get_sub_templates(template) service_model = ServiceModel(service_type, formulation; use_service_name=true) PSI.set_subsystem!(service_model, id) - PSI.set_service_model!( - sub_template, - service_name, - service_model, - ) + PSI.set_service_model!(sub_template, service_name, service_model) end return end @@ -152,11 +148,7 @@ function PSI.set_service_model!( for (id, sub_template) in get_sub_templates(template) service_model = ServiceModel(service_type, formulation) PSI.set_subsystem!(service_model, id) - PSI.set_service_model!( - sub_template, - service_name, - service_model, - ) + PSI.set_service_model!(sub_template, service_name, service_model) end return end