Skip to content

Commit 48c0cca

Browse files
author
Katharine Hyatt
committed
Formatter
1 parent bc21f31 commit 48c0cca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/implementations/polar.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function _left_polarnewton!(A::AbstractMatrix, W, P = similar(A, (0, 0)); tol =
150150
if conv > tol
151151
@warn "`left_polar!` via Newton iteration did not converge within $maxiter iterations (final residual: $conv)"
152152
end
153-
if istall
153+
if istall
154154
return mul!(W, Q, Rc)
155155
end
156156
return W
@@ -159,7 +159,7 @@ end
159159
function _right_polarnewton!(A::AbstractMatrix, Wᴴ, P = similar(A, (0, 0)); tol = defaulttol(A), maxiter = 10)
160160
m, n = size(A) # we must have m <= n
161161
Lᴴinv = isempty(P) ? similar(P, (m, m)) : P # use P as workspace when available
162-
isshort = m < n
162+
isshort = m < n
163163
if isshort # initial QR
164164
L, Q = lq_compact!(A)
165165
Lc = view(A, 1:m, 1:m)

0 commit comments

Comments
 (0)