Skip to content

Commit

Permalink
Pass frame attribute to selected subgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Aug 13, 2024
1 parent 825a461 commit dc4e5f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion motile/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def get_selected_subgraph(

node_selected = self.get_variables(NodeSelected)
edge_selected = self.get_variables(EdgeSelected)
selected_graph = TrackGraph()
selected_graph = TrackGraph(frame_attribute=self.graph.frame_attribute)

for node_id, node in self.graph.nodes.items():
if solution[node_selected[node_id]] > 0.5:
Expand Down

0 comments on commit dc4e5f1

Please sign in to comment.