Skip to content

Commit 1c14a26

Browse files
committed
🤖 Format .jl files
1 parent 77f0ead commit 1c14a26

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/LM_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function LM(
4545
subsolver_logger::Logging.AbstractLogger = Logging.NullLogger(),
4646
subsolver = R2,
4747
subsolver_options = ROSolverOptions(),
48-
) where H
48+
) where {H}
4949
start_time = time()
5050
elapsed_time = 0.0
5151
# initialize passed options

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ function opnorm_eig(B; max_attempts::Int = 3)
1515
ncv = max(20, 2 * nev + 1)
1616
while !(have_eig || attempt > max_attempts)
1717
attempt += 1
18-
(d, nconv, niter, nmult, resid) = eigs(B; nev = nev, ncv = ncv, which = :LM, ritzvec = false, check = 1)
18+
(d, nconv, niter, nmult, resid) =
19+
eigs(B; nev = nev, ncv = ncv, which = :LM, ritzvec = false, check = 1)
1920
have_eig = nconv == 1
2021
if (have_eig)
2122
λ = abs(d[1])
@@ -48,4 +49,3 @@ function opnorm_svd(J; max_attempts::Int = 3)
4849
end
4950
return σ, success
5051
end
51-

0 commit comments

Comments
 (0)