commit | 370e43fb76c533ced09b2c08d2c45ced55b5d687 | [log] [tgz] |
---|---|---|
author | bluss <bluss@users.noreply.github.com> | Mon Sep 11 00:00:09 2017 +0200 |
committer | bluss <bluss@users.noreply.github.com> | Mon Sep 11 00:42:52 2017 +0200 |
tree | 15a335d54323280e8351b64d124988767a3eab1e | |
parent | 64eb23e6326e2522b65c15dfb7f8ed286e6cb673 [diff] |
BUG: Fix StableGraph::neighbors and edges iterators for nonexisting .neighbors() (and other neighbors iterators) and .edges() (and other edges) iterators did not behave correctly when passed a node index that doesn't exist, but pointed to an interior hole in the index set. Fix the iterators by correctly treating the node as empty if it is marked empty by setting its weight to None.