Skip to content

Commit eed8af1

Browse files
committed
add wrapper
1 parent 66ff464 commit eed8af1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/connectivity/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub fn condensation_inner<'a, N, E, Ty, Ix>(
158158
}
159159

160160
#[pyfunction]
161-
#[pyo3(text_signature = "(graph, /, sccs=None)", signature=(graph, /, sccs=None))]
161+
#[pyo3(text_signature = "(graph, /, sccs=None)", signature=(graph, sccs=None))]
162162
pub fn condensation(py: Python, graph: &digraph::PyDiGraph, sccs: Option<Vec<Vec<usize>>>)
163163
-> digraph::PyDiGraph {
164164
let g = graph.graph.clone();

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ fn rustworkx(py: Python<'_>, m: &Bound<PyModule>) -> PyResult<()> {
569569
m.add_wrapped(wrap_pyfunction!(cycle_basis))?;
570570
m.add_wrapped(wrap_pyfunction!(simple_cycles))?;
571571
m.add_wrapped(wrap_pyfunction!(strongly_connected_components))?;
572+
m.add_wrapped(wrap_pyfunction!(condensation))?;
572573
m.add_wrapped(wrap_pyfunction!(digraph_dfs_edges))?;
573574
m.add_wrapped(wrap_pyfunction!(graph_dfs_edges))?;
574575
m.add_wrapped(wrap_pyfunction!(digraph_find_cycle))?;

0 commit comments

Comments
 (0)