File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ struct HPolygon{N<:Real} <: AbstractHPolygon{N}
28
28
constraints:: Vector{LinearConstraint{N}}
29
29
end
30
30
# constructor for an HPolygon with no constraints
31
- HPolygon {N} () where {N<: Real } = HPolygon {N} (Vector {N } (0 ))
31
+ HPolygon {N} () where {N<: Real } = HPolygon {N} (Vector {LinearConstraint{N} } (0 ))
32
32
33
33
# constructor for an HPolygon with no constraints of type Float64
34
34
HPolygon () = HPolygon {Float64} ()
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ struct HPolytope{N<:Real} <: AbstractPolytope{N}
25
25
constraints:: Vector{LinearConstraint{N}}
26
26
end
27
27
# constructor for a HPolytope with no constraints
28
- HPolytope {N} () where {N<: Real } = HPolytope {N} (Vector {N } (0 ))
28
+ HPolytope {N} () where {N<: Real } = HPolytope {N} (Vector {LinearConstraint{N} } (0 ))
29
29
30
30
# constructor for a HPolytope with no constraints of type Float64
31
31
HPolytope () = HPolytope {Float64} ()
You can’t perform that action at this time.
0 commit comments