Skip to content

Commit

Permalink
quick update for using items after removing lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
joesho112358 committed May 10, 2024
1 parent 5fd96f7 commit 705ddf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiskit/visualization/circuit/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def _initialize_latex_array(self):
self._latex[pos][1] = "\\lstick{/_{_{" + str(register.size) + "}}} \\cw"
wire_label = f"\\mathrm{{{wire_label}}}"
else:
pos = self._wire_map[wire]
pos = index
self._latex[pos][0] = "\\nghost{" + wire_label + " & " + "\\lstick{" + wire_label

def _get_image_depth(self):
Expand Down

0 comments on commit 705ddf0

Please sign in to comment.