Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarhiggott committed Jul 24, 2024
1 parent 2d55f2a commit 715a32b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pymatching/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,9 @@ def decode_to_matched_dets_dict(self,
>>> d
{0: None, 3: 4, 4: 3}
"""
print(f"syndrome: {syndrome}", flush=True)
detection_events = self._syndrome_array_to_detection_events(syndrome)
print(f"detection_events: {detection_events}", flush=True)
return self._matching_graph.decode_to_matched_detection_events_dict(detection_events)

def draw(self) -> None:
Expand Down

0 comments on commit 715a32b

Please sign in to comment.