Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential bugs in inmemconncomps.cpp #29

Open
luyi0619 opened this issue Jul 18, 2014 · 0 comments
Open

potential bugs in inmemconncomps.cpp #29

luyi0619 opened this issue Jul 18, 2014 · 0 comments

Comments

@luyi0619
Copy link

I find the vertex data is used in the update function before initialization.

The following graph is used to test, in adjlist format.

0 1 1
2 1 0 1
3 2 2 3 4
4 3 2 2 4
5 4 2 2 3

The expected output should be:

List of labels was written to file: /home/user/test.adj.components

  1. label: 2, size: 3
  2. label: 0, size: 2

However, inmemconncomps.cpp gives the following:

List of labels was written to file: /home/user/test.adj.components

  1. label: 0, size: 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant