Skip to content

Commit

Permalink
Node -> Edge typo (#393)
Browse files Browse the repository at this point in the history
Co-authored-by: grace-harper <[email protected]>
  • Loading branch information
MauriceDHanisch and grace-harper authored Oct 4, 2023
1 parent 2d6a2b5 commit 5c5f13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiskit_qec/utils/decoding_graph_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __setitem__(self, key, value):
self.properties[key] = value

def __eq__(self, rhs) -> bool:
if not isinstance(rhs, DecodingGraphNode):
if not isinstance(rhs, DecodingGraphEdge):
return NotImplemented

return set(self.qubits) == set(rhs.qubits) and self.weight == rhs.weight
Expand Down

0 comments on commit 5c5f13c

Please sign in to comment.