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

Fix bug in remove_node_from_edge() #154

Merged
merged 1 commit into from Aug 29, 2022
Merged

Conversation

nwlandry
Copy link
Collaborator

Fixes the error in this example:

H = xgi.Hypergraph()
H.add_edge([1, 2])
H.edges.members()
# [[1, 2]]
H.remove_node_from_edge(0, 2)

raises the error
XGIError: Node 2 not in edge 0

@nwlandry nwlandry changed the title Fix bug inremove_node_from_edge() Fix bug in remove_node_from_edge() Aug 27, 2022
@leotrs
Copy link
Collaborator

leotrs commented Aug 29, 2022

Thanks. This looks like the product of a bad merge conflict fix.

@leotrs leotrs merged commit a5d9c70 into main Aug 29, 2022
@leotrs leotrs deleted the fix-remove-node-from-edge branch August 29, 2022 07:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants