epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
488 stars 93 forks source link

Fix extract_components #42

Closed cafeal closed 5 years ago

cafeal commented 5 years ago

Current extract_components have a bug. It may return the whole graph in any non-connected graphs since stack is initialized all indices of nodes.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 86.632% when pulling 0de6c63e14f1d3d76fccf82422df4f92271e6cd4 on 69guitar1015:fix_extract_components into 9950c668505fad9e0152d2e3e0014aa738861dd1 on epfl-lts2:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 86.632% when pulling 0de6c63e14f1d3d76fccf82422df4f92271e6cd4 on 69guitar1015:fix_extract_components into 9950c668505fad9e0152d2e3e0014aa738861dd1 on epfl-lts2:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 86.632% when pulling 0de6c63e14f1d3d76fccf82422df4f92271e6cd4 on 69guitar1015:fix_extract_components into 9950c668505fad9e0152d2e3e0014aa738861dd1 on epfl-lts2:master.

mdeff commented 5 years ago

Thanks!