Skip to content

Commit

Permalink
fix return value
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Jan 23, 2019
1 parent be1ba56 commit df39fc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Intersection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,8 @@ end
function constraints_list(cap::Intersection{N, S1, S2}) where {N<:Real,
S1<:AbstractPolytope{N}, S2<:AbstractPolytope{N}}
constraints = [constraints_list(cap.X); constraints_list(cap.Y)]
return remove_redundant_constraints!(constraints)
remove_redundant_constraints!(constraints)
return constraints
end

# --- Intersection functions ---
Expand Down

0 comments on commit df39fc7

Please sign in to comment.