Skip to content

Add pymatching correlated to sinter#1046

Open
m-mcewen wants to merge 3 commits intomainfrom
sinter-pymatching-correlated
Open

Add pymatching correlated to sinter#1046
m-mcewen wants to merge 3 commits intomainfrom
sinter-pymatching-correlated

Conversation

@m-mcewen
Copy link
Contributor

@m-mcewen m-mcewen commented Mar 5, 2026

Basically a straight theft of Oscar's PR, but without adding the package dependency at Craig's request.

@m-mcewen m-mcewen self-assigned this Mar 5, 2026
a = int(v[0])
b = int(v[1]
c = int(''.join(e for e in v[2] if e in '0123456789')) # In case dev version
except ValueError, IndexError:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... I made a syntax error

return # Probably it's the future.

if (a, b, c) < (2, 3, 1):
if not (int(v[0]) >= 2 or int(v[1]) >= 3 or int(v[2]) >= 1):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drop redundant if here

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.

2 participants