Ticket #12838 (closed defect: fixed)
Root poset should treat type A1 properly
| Reported by: | stumpc5 | Owned by: | sage-combinat |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.1 |
| Component: | combinatorics | Keywords: | root poset |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Frédéric Chapoton |
| Authors: | Christian Stump | Merged in: | sage-5.1.beta0 |
| Dependencies: | Stopgaps: |
Description
The patch fixes the issue that the one element root poset in type A1 was not returned correctly.
sage: Phi = RootSystem(['A',1]).root_poset(); Phi Finite poset containing 1 elements sage: Phi.cover_relations() []
I also added the facade option for root posets.
Attachments
Change History
comment:2 follow-up: ↓ 3 Changed 13 months ago by chapoton
- Status changed from needs_review to needs_work
- Reviewers set to Frédéric Chapoton
In sage/combinat/root_system/root_system.py,
it should be written
- ``restricted`` --
(i.e. there are missing backquotes)
Otherwise, it seems ok.
comment:3 in reply to: ↑ 2 Changed 13 months ago by stumpc5
Replying to chapoton:
In sage/combinat/root_system/root_system.py,
it should be written
- ``restricted`` --(i.e. there are missing backquotes)
Otherwise, it seems ok.
done.
comment:6 Changed 13 months ago by jdemeyer
- Status changed from positive_review to needs_work
This patch needs a commit message and also needs to be rebased to sage-5.0.beta14 (or later).
comment:8 in reply to: ↑ 7 Changed 12 months ago by stumpc5
Replying to jdemeyer:
*ping*
Sorry for being slow...
I added a commit message -- the patch applies smoothly on 5.0.rc0.
comment:9 Changed 12 months ago by jdemeyer
Not quite smoothly:
applying trac_12838-root_poset_A1-cs.patch patching file sage/combinat/root_system/root_lattice_realizations.py Hunk #1 succeeded at 507 with fuzz 2 (offset -34 lines).
Anyway, I rebased it.
comment:11 Changed 12 months ago by jdemeyer
- Status changed from positive_review to closed
- Resolution set to fixed
- Merged in set to sage-5.1.beta0

