Skip to content

Commit

Permalink
Merge pull request #2760 from JuliaReach/schillic/project
Browse files Browse the repository at this point in the history
Do not use isbounded in project
  • Loading branch information
schillic authored Jul 2, 2021
2 parents fc0d957 + b7661eb commit 03725b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interfaces/AbstractPolyhedron_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ function project(P::AbstractPolyhedron{N}, block::AbstractVector{Int};
clist = _project_polyhedron(P, block; kwargs...)
end

if isbounded(P)
if isboundedtype(typeof(P))
return HPolytope(clist; check_boundedness=false)
else
return HPolyhedron(clist)
Expand Down

0 comments on commit 03725b3

Please sign in to comment.