Skip to content

Commit

Permalink
replacing the acess by index
Browse files Browse the repository at this point in the history
  • Loading branch information
tengis-nrl committed Feb 20, 2024
1 parent 590e682 commit 61fc238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_subsystems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ end
@test length(
get_components(ThermalStandard, c_sys5; subsystem_name = "subsystem_1"),
) == 5
name = get_name(components[14])
name = get_name(get_component(PowerLoad, c_sys5, "Load-nodeB2"))
@test collect(
get_components(
x -> x.name == name,
Expand Down

0 comments on commit 61fc238

Please sign in to comment.