From e52316d057dcf9ef58a69946c62552d2f86d8bb2 Mon Sep 17 00:00:00 2001 From: "James D. Mitchell" Date: Mon, 31 May 2021 13:50:52 +0100 Subject: [PATCH] dfs: attempt to fix x 3 --- src/dfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dfs.c b/src/dfs.c index 453c822a0..d15a02877 100644 --- a/src/dfs.c +++ b/src/dfs.c @@ -65,6 +65,7 @@ Obj ExecuteDFS(Obj self, Obj args) { Obj edge = ElmPRec(record, RNamName("edge")); // FIXME edge needs to be off by 1, so that the first entry is bound + // FIXME use hash maps for parent, postorder, preorder, and edge DIGRAPHS_ASSERT(LEN_PLIST(parent) == 1); DIGRAPHS_ASSERT(LEN_PLIST(postorder) == 1);