Skip to content

Commit

Permalink
Added a comment regarding cc undirected input, addressing issue# 240.
Browse files Browse the repository at this point in the history
  • Loading branch information
neoblizz committed May 15, 2017
1 parent b097682 commit cdab20b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared_lib_tests/shared_lib_cc.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ int main(int argc, char* argv[])
// 5, 6, 1, 2, 5, 6, 2, 3, 4, 6, 3, 4, 5};

struct GRGraph *grapho = (struct GRGraph*)malloc(sizeof(struct GRGraph));

// CC() implementation assumes that the input graph is undirected (via. edge
// doubling).
struct GRGraph *graphi = (struct GRGraph*)malloc(sizeof(struct GRGraph));
graphi->num_nodes = num_nodes;
graphi->num_edges = num_edges;
Expand Down

0 comments on commit cdab20b

Please sign in to comment.