Skip to content

Commit c90dad8

Browse files
adds an initialization value for the ratio in the solve function
1 parent b9d8b99 commit c90dad8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/R2_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ function SolverCore.solve!(
385385
end
386386

387387
local ξ::T
388-
local ρk::T
388+
local ρk::T = zero(T)
389389
σk = max(1 / ν, σmin)
390390
ν = 1 / σk
391391
sqrt_ξ_νInv = one(T)

0 commit comments

Comments
 (0)