Skip to content
Snippets Groups Projects
Commit dd4ca038 authored by Sander Snoo's avatar Sander Snoo
Browse files

Removed unnecessary colon

parent 4541b956
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class VirtualGateMatrix:
if self._invert:
matrix = np.linalg.inv(matrix)
if self._valid_indices:
matrix = matrix[self._valid_indices, :]
matrix = matrix[self._valid_indices]
if self._square:
matrix = matrix[:, self._valid_indices]
return matrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment