Skip to content

Commit

Permalink
🐛 Fixed copy-paste errors
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelwa committed Dec 3, 2024
1 parent fb8d3d7 commit ee344bf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions bindings/mnt/pyfiction/pyfiction.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1465,8 +1465,6 @@ def technology_mapping(network: technology_network,

## path finding

from typing import overload, Union


@overload
def manhattan_distance(layout: Union[cartesian_layout, shifted_cartesian_layout], source: offset_coordinate,
Expand Down Expand Up @@ -1531,7 +1529,7 @@ def a_star(
],
source: offset_coordinate,
target: offset_coordinate,
params: a_star_params
params: Optional[a_star_params] = a_star_params()
) -> List[offset_coordinate]: ...


Expand All @@ -1544,7 +1542,7 @@ def a_star(
],
source: cube_coordinate,
target: cube_coordinate,
params: a_star_params
params: Optional[a_star_params] = a_star_params()
) -> List[cube_coordinate]: ...


Expand All @@ -1566,7 +1564,7 @@ def enumerate_all_paths(
],
source: offset_coordinate,
target: offset_coordinate,
params: enumerate_all_paths_params
params: Optional[enumerate_all_paths_params] = enumerate_all_paths_params()
) -> List[List[offset_coordinate]]: ...


Expand All @@ -1579,7 +1577,7 @@ def enumerate_all_paths(
],
source: cube_coordinate,
target: cube_coordinate,
params: enumerate_all_paths_params
params: Optional[enumerate_all_paths_params] = enumerate_all_paths_params()
) -> List[List[cube_coordinate]]: ...


Expand All @@ -1602,7 +1600,7 @@ def yen_k_shortest_paths(
source: offset_coordinate,
target: offset_coordinate,
k: int,
params: yen_k_shortest_paths_params
params: Optional[yen_k_shortest_paths_params] = yen_k_shortest_paths_params()
) -> List[List[offset_coordinate]]: ...


Expand All @@ -1616,5 +1614,5 @@ def yen_k_shortest_paths(
source: cube_coordinate,
target: cube_coordinate,
k: int,
params: yen_k_shortest_paths_params
params: Optional[yen_k_shortest_paths_params] = yen_k_shortest_paths_params()
) -> List[List[cube_coordinate]]: ...

0 comments on commit ee344bf

Please sign in to comment.