Skip to content

Commit f54f352

Browse files
authored
fix: equality comparison where assignment was likely meant (#979)
1 parent f72af65 commit f54f352

File tree

1 file changed

+1
-1
lines changed
  • src/multivariate/solvers/constrained/ipnewton

1 file changed

+1
-1
lines changed

src/multivariate/solvers/constrained/ipnewton/ipnewton.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ function update_state!(
323323
# Evaluate the constraints at the new position
324324
constraints.c!(state.constr_c, state.x)
325325
constraints.jacobian!(state.constr_J, state.x)
326-
state.ev == equality_violation(constraints, state)
326+
state.ev = equality_violation(constraints, state)
327327

328328
false
329329
end

0 commit comments

Comments
 (0)