Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Feb 29, 2024
1 parent 1677242 commit 302b535
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/multiproblem_template.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 302b535

Please sign in to comment.