Skip to content

Commit

Permalink
some testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomino committed Jan 13, 2021
1 parent 596460a commit ed7d5fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/peps_no_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,11 @@ function merge_boundaries(partial_s::Vector{Partial_sol{T}}, δ) where T <:Real
for el in unique_bondaries
if b[el] > 1
i = findall(x -> x == el, boundaries)
objectives = [partial_s[el].objective for el in i]
objectives = [partial_s[j].objective for j in i]
println(objectives)
println(maximum(objectives))
objectives = objectives./maximum(objectives)
println(objectives)
for ind in i[objectives .< δ]
leave[ind] = false
end
Expand Down

0 comments on commit ed7d5fe

Please sign in to comment.