|
110 | 110 | "edgelike_to_igraph_int_t", |
111 | 111 | "edge_capacities_to_igraph_vector_t", |
112 | 112 | "edge_capacities_to_igraph_vector_t_view", |
113 | | - "edge_colors_to_igraph_vector_t", |
114 | | - "edge_colors_to_igraph_vector_t_view", |
| 113 | + "edge_colors_to_igraph_vector_int_t", |
| 114 | + "edge_colors_to_igraph_vector_int_t_view", |
115 | 115 | "edge_lengths_to_igraph_vector_t", |
116 | 116 | "edge_lengths_to_igraph_vector_t_view", |
117 | 117 | "edge_selector_to_igraph_es_t", |
@@ -287,12 +287,14 @@ def edge_weights_to_igraph_vector_t_view( |
287 | 287 | edge_capacities_to_igraph_vector_t_view = edge_weights_to_igraph_vector_t_view |
288 | 288 |
|
289 | 289 |
|
290 | | -def edge_colors_to_igraph_vector_t(colors: Iterable[int], graph: Graph) -> _VectorInt: |
| 290 | +def edge_colors_to_igraph_vector_int_t( |
| 291 | + colors: Iterable[int], graph: Graph |
| 292 | +) -> _VectorInt: |
291 | 293 | """Converts a Python iterable of integers to a vector of edge colors.""" |
292 | 294 | return iterable_to_igraph_vector_int_t(colors) |
293 | 295 |
|
294 | 296 |
|
295 | | -def edge_colors_to_igraph_vector_t_view( |
| 297 | +def edge_colors_to_igraph_vector_int_t_view( |
296 | 298 | colors: Iterable[int], graph: Graph |
297 | 299 | ) -> _VectorInt: |
298 | 300 | """Converts a Python iterable of integers to a vector of edge colors, |
|
0 commit comments