Skip to content

Commit

Permalink
minor fix.§
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrych committed Oct 28, 2024
1 parent ab59f66 commit e6ea0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/oed_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function build_domain_point_function(domain_oracle, A, N, int_vars, initial_lb,
return nothing
end
end
if sum(iszero(x[S]-ub[S])) < length(S)
if iszero(x[S]-ub[S])
y = add_to_min2(x[S], ub[S])
x[S] = y
else
Expand Down

0 comments on commit e6ea0dc

Please sign in to comment.