Skip to content

Commit 68b429b

Browse files
committed
Actually use the get_name interface function
1 parent ffa84ba commit 68b429b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph_system.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function PartitionedGraphSystem(g::GraphSystem)
136136
end
137137
states_partitioned = (Tuple map)(v -> map(get_states, v), subsystems_partitioned)
138138
params_partitioned = (Tuple map)(v -> map(get_params, v), subsystems_partitioned)
139-
names_partitioned = (Tuple map)(v -> map(x -> convert(Symbol, x.name), v), nodes_partitioned)
139+
names_partitioned = (Tuple map)(v -> map(x -> convert(Symbol, get_name(x)), v), nodes_partitioned)
140140

141141
#==================================================================================================
142142
Create a ConnectionMatrices object containing structured information about how each lowest level nodes

0 commit comments

Comments
 (0)