Skip to content

Commit

Permalink
Replace deprecated function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Oct 10, 2024
1 parent 4980aa5 commit 6a19175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gfe_examples/live_io/live_io_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def generate_machine_data_specification(
spec.switch_write_focus(DataRegions.KEY_DATA)

routing_infos = FecDataView().get_routing_infos()
r_info = routing_infos.get_routing_info_from_pre_vertex(
placement.vertex, self.__send_partition)
r_info = routing_infos.get_single_routing_info_from_pre_vertex(
placement.vertex)
if r_info is None:
spec.write_value(0)
spec.write_value(0)
Expand Down

0 comments on commit 6a19175

Please sign in to comment.