-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#2219 Remove N <: Real for zonotopic sets #2276
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Got exception outside of a @test
LoadError: MethodError: linear_map(::Array{Float64,2}, ::BallInf{Float64,Array{Float64,1}}) is ambiguous. Candidates:
linear_map(M::AbstractArray{N,2}, P::AbstractPolyhedron{N}; algorithm, check_invertibility, cond_tol, inverse, backend, elimination_method) where N<:Real in LazySets at /home/travis/build/JuliaReach/LazySets.jl/src/Interfaces/AbstractPolyhedron_functions.jl:593
linear_map(M::AbstractArray{N,2}, Z::AbstractZonotope{N}) where N in LazySets at /home/travis/build/JuliaReach/LazySets.jl/src/Interfaces/AbstractZonotope.jl:340
linear_map(M::AbstractArray{NM,2}, P::AbstractPolyhedron{NP}; kwargs...) where {NM<:Real, NP<:Real} in LazySets at /home/travis/build/JuliaReach/LazySets.jl/src/Interfaces/AbstractPolyhedron_functions.jl:656
Possible fix, define
linear_map(::AbstractArray{N,2}, ::AbstractZonotope{N}) where N<:Real
Stacktrace:
[1] affine_map(::Array{Float64,2}, ::BallInf{Float64,Array{Float64,1}}, ::Array{Float64,1}) at /home/travis/build/JuliaReach/LazySets.jl/src/Interfaces/LazySet.jl:405
[2] top-level scope at /home/travis/build/JuliaReach/LazySets.jl/test/unit_BallInf.jl:135
[3] include(::String) at ./client.jl:439
[4] macro expansion at /home/travis/build/JuliaReach/LazySets.jl/test/runtests.jl:84 [inlined]
[5] macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Test/src/Test.jl:1113 [inlined]
[6] macro expansion at /home/travis/build/JuliaReach/LazySets.jl/test/runtests.jl:84 [inlined]
[7] macro expansion at ./util.jl:175 [inlined]
[8] top-level scope at /home/travis/build/JuliaReach/LazySets.jl/test/runtests.jl:84
[9] include(::String) at ./client.jl:439
[10] top-level scope at none:6
[11] eval(::Module, ::Any) at ./boot.jl:331
[12] exec_options(::Base.JLOptions) at ./client.jl:264
[13] _start() at ./client.jl:484
in expression starting at /home/travis/build/JuliaReach/LazySets.jl/test/unit_BallInf.jl:1 |
schillic
approved these changes
Nov 17, 2020
mforets
commented
Nov 18, 2020
schillic
approved these changes
Nov 18, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
see #2219