Skip to content

Commit 5e93766

Browse files
committed
fix: keep on supporting 'min' and 'max' as aliases to 'minimum' and 'maximum' in igraph_adjacency_t conversion
1 parent 8d356a9 commit 5e93766

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_igraph/convert.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ int igraphmodule_PyObject_to_adjacency_t(PyObject *o,
254254
{"lower", IGRAPH_ADJ_LOWER},
255255
{"minimum", IGRAPH_ADJ_MIN},
256256
{"maximum", IGRAPH_ADJ_MAX},
257+
{"min", IGRAPH_ADJ_MIN},
258+
{"max", IGRAPH_ADJ_MAX},
257259
{"plus", IGRAPH_ADJ_PLUS},
258260
{0,0}
259261
};

0 commit comments

Comments
 (0)