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 tensorfy for parallel and loop edges #258

Merged
merged 3 commits into from
Jul 16, 2024

Conversation

boldar99
Copy link
Contributor

@boldar99 boldar99 commented Jul 15, 2024

Fixes the tensorify method for Multigraphs with self-loops and parallel edges; see #245.

Tests have been added accordingly.

Also fixes zxcalc/zxlive#307.

@jvdwetering jvdwetering merged commit 1c2da27 into zxcalc:master Jul 16, 2024
3 checks passed
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.

"Show matrix" shows a wrong matrix when the graph has parallel edges or self-loops
2 participants