Skip to content

Commit

Permalink
dfs: attempt to fix x 3
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Sep 15, 2021
1 parent 4ec294c commit e52316d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e52316d

Please sign in to comment.