Skip to content

Commit 649bb81

Browse files
MaxenceGollierdpo
authored andcommitted
LMTR: use delta_k instead of delta_effective
1 parent 5703fcb commit 649bb81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LMTR_alg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ function SolverCore.solve!(
403403
if has_bnds
404404
@. l_bound_m_x = l_bound - xk
405405
@. u_bound_m_x = u_bound - xk
406-
@. l_bound_m_x .= max.(l_bound_m_x, -∆_effective)
407-
@. u_bound_m_x .= min.(u_bound_m_x, ∆_effective)
406+
@. l_bound_m_x .= max.(l_bound_m_x, -Δk)
407+
@. u_bound_m_x .= min.(u_bound_m_x, Δk)
408408
set_bounds!(ψ, l_bound_m_x, u_bound_m_x)
409409
set_bounds!(solver.subsolver.ψ, l_bound_m_x, u_bound_m_x)
410410
end

0 commit comments

Comments
 (0)