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 add_edge() bug #289

Merged
merged 2 commits into from
Mar 13, 2023
Merged

Fix add_edge() bug #289

merged 2 commits into from
Mar 13, 2023

Conversation

nwlandry
Copy link
Collaborator

@nwlandry nwlandry commented Mar 9, 2023

This fixes an error where

import xgi
H = xgi.Hypergraph()
H.add_edge({1, 2, 3}, id=0}

returns an empty hypergraph.

@maximelucas
Copy link
Collaborator

Good catch!

@nwlandry nwlandry merged commit 76e8ff9 into main Mar 13, 2023
@nwlandry nwlandry deleted the fix-add-edge-bug branch March 13, 2023 11:31
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