Skip to content

Commit e69dca0

Browse files
Replace "π" with "pi"
Co-authored-by: Luke Helt <[email protected]>
1 parent 1529683 commit e69dca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thewalrus/decompositions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def takagi(A, svd_order=True, rtol=1e-16):
230230
# Rotate z to shift midpoint of largest arc to ±pi
231231
shift_angle = np.ones(n) * shift_angle
232232
z @= np.diag(np.exp(1j * shift_angle))
233-
# Undo rotation from ±π
233+
# Undo rotation from ±pi
234234
U = u @ sqrtm(z) @ np.diag(np.exp(-0.5j * shift_angle))
235235
if svd_order is False:
236236
return d[::-1], U[:, ::-1]

0 commit comments

Comments
 (0)