-
Notifications
You must be signed in to change notification settings - Fork 32
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
Fix bug in check_method_implementation #169
Conversation
@mforets: How should we implement |
does the vertices list functionality depend on the "check_method_implementation"? how does that work? |
It just checks if the method exists. When #189 is merged, it should work (we should still try). |
do you refer to this test? @test check_method_implementation(AbstractPolytope, vertices_list,
Function[S -> (S{Float64},)]) |
90c8984
to
86154fb
Compare
Yes. I just rebased with master. If it gets green, you can merge. |
the access of the method |
Indeed: julia> method_exists(vertices_list, (HPolytope{Float64},))
false
julia> using Polyhedra
julia> method_exists(vertices_list, (HPolytope{Float64},))
true |
Unfortunately, when adding LoadError: UndefVarError: HalfSpace not defined |
For now my fix is to load this test set last. We should still investigate #194 another time. Another solution would be to provide a default implementation outside the |
check_method_implementation
vertices_list
forHPolytope
>> see Vertices_list for HPolytope #189