We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d8e47 commit 1254cd7Copy full SHA for 1254cd7
python/swiflow/pflow.py
@@ -80,16 +80,6 @@ def find(
80
_Layer = Mapping[_V, int]
81
82
83
-def _codec_wrap(
84
- codec: IndexMap[_V],
85
- pflow: tuple[_PFlow[_V], _Layer[_V]] | _PFlow[_V],
86
-) -> tuple[dict[int, set[int]], list[int] | None]:
87
- if isinstance(pflow, tuple):
88
- f, layers = pflow
89
- return codec.encode_gflow(f), codec.encode_layers(layers)
90
- return codec.encode_gflow(pflow), None
91
-
92
93
def verify(
94
pflow: tuple[_PFlow[_V], _Layer[_V]] | _PFlow[_V],
95
g: nx.Graph[_V],
0 commit comments