-
-
Notifications
You must be signed in to change notification settings - Fork 517
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 Polyhedron.base_extend so it does not ignore the backend parameter #22575
Comments
comment:1
This is because in the parent class, the method
I guess one could simply correct that... Now the question is whether there is a smart way to go from one to another? |
comment:2
See also #22701. |
comment:3
Replying to @jplab:
good finding, maybe this was a feature that didn't get in at the time. also, i didn't find a command to get the backend as a string, like
i suggest to just start with the naive way and see how it behaves. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Commit: |
New commits:
|
Author: Matthias Koeppe |
comment:8
So my only quip is that this defaults to the automatic backend choice when the backend is not specified. I would expect that the backend be the same backend as what I am currently working with:
So if you think this is the behavior that it should have, then you should put a |
comment:9
Replying to @tscrim:
One might expect that, but the backend may simply not be suitable. Consider base_extend of a PPL polytope to AA - only the 'field' backend is suitable. I'll add some documentation. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:11
Thanks. LGTM. |
Reviewer: Travis Scrimshaw |
Changed branch from u/mkoeppe/fix_polyhedron_base_extend_so_it_does_not_ignore_the_backend_parameter to |
Polyhedra can be instantiated with different backends (CDD, PPL, normaliz, ...), and the
base_extend
method is supposed to allow to transform between backends, but the parameter is simply ignored (in (Polyhedra_base.base_extend
).Possible follow-up: Also a new method
change_backend
could be implemented as an alias. (Once done, add it to tutorial, too.)CC: @mkoeppe @jplab @tscrim
Component: geometry
Keywords: days84, polytope
Author: Matthias Koeppe
Branch/Commit:
9f61dac
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/22575
The text was updated successfully, but these errors were encountered: