Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-T-McCann committed May 5, 2022
1 parent 3aea136 commit a0233e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scico/linop/_linop.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def power_iteration(A: LinearOperator, maxiter: int = 100, key: Optional[PRNGKey

for i in range(maxiter):
Av = A @ v
mu = snp.sum(v.conj * Av) / snp.linalg.norm(v) ** 2
mu = snp.sum(v.conj() * Av) / snp.linalg.norm(v) ** 2
v = Av / snp.linalg.norm(Av)
return mu, v

Expand Down

0 comments on commit a0233e2

Please sign in to comment.