Skip to content

Commit

Permalink
resolve submodule dependency via Requires
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Jul 20, 2024
1 parent ef520bf commit 70da711
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sets/HParallelotope/HParallelotopeModule.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module HParallelotopeModule

using Reexport, Requires

using ..LazySets: AbstractZonotope, HalfSpace, generators_fallback, order,
using ..LazySets: AbstractZonotope, generators_fallback, order,
_constraints_list_zonotope
using LinearAlgebra: checksquare, det
using Random: AbstractRNG, GLOBAL_RNG
Expand Down
2 changes: 2 additions & 0 deletions src/Sets/HParallelotope/constraints_list.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function _parameters(P::HParallelotope{N,VN}) where {N,VN}
end

function _constraints_list_hparallelotope(D, c, N, VN)
require(@__MODULE__, :LazySets; fun_name="constraints_list")

if isempty(D)
return Vector{HalfSpace{N,VN}}(undef, 0)
end
Expand Down
1 change: 1 addition & 0 deletions src/Sets/HParallelotope/init_LazySets.jl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
using .LazySets.HalfSpaceModule: HalfSpace
using .LazySets.HPolyhedronModule: HPolyhedron

0 comments on commit 70da711

Please sign in to comment.