Skip to content

Commit

Permalink
Add function that return denormalized CRs
Browse files Browse the repository at this point in the history
  • Loading branch information
darnstrom committed Nov 4, 2024
1 parent 571abc0 commit fbebe61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,3 +233,7 @@ function compute_AS0(mpLDP,Θ)
return findall(abs.(info.λ).> 0)
# TODO add backup if this fails
end
## Get CRs
function get_critical_regions(sol::Solution)
return [denormalize(cr,sol.scaling,sol.translation) for cr in sol.CRs]
end

0 comments on commit fbebe61

Please sign in to comment.