Closed mforets closed 3 years ago
Ah wait, default_polyhedra_backend(P1)
is not the same as default_polyhedra_backend(P2)
here, since P1
is one-dimensional! https://github.com/JuliaReach/LazySets.jl/blob/ede6c23837a7b8d066c8f852ec57548227789947/src/ConcreteOperations/cartesian_product.jl#L22
so we're using Polyhedra.polyhedron(P2; backend=backend)
for a 2D set P2 and with backend=IntervalLibrary{Float64}()
. perhaps this could raise an error but it's a different kind of problem.
this is related to the default Polyhedra solver:
we should open an issue in Polyhedra.jl
cc: @blegat