Skip to content
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

Bug in IncidenceStructure.automorphism_group when the ground set consists of pairs #16741

Closed
nathanncohen mannequin opened this issue Jul 30, 2014 · 14 comments
Closed

Bug in IncidenceStructure.automorphism_group when the ground set consists of pairs #16741

nathanncohen mannequin opened this issue Jul 30, 2014 · 14 comments

Comments

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Jul 30, 2014

Before

sage: designs.IncidenceStructure([[(1,2),(3,4)]]).automorphism_group()
...
ValueError: Invalid permutation vector: [(3, 4), (1, 2)]

After

sage: designs.IncidenceStructure([[(1,2),(3,4)]]).automorphism_group()
Permutation Group with generators [((1,2),(3,4))]

CC: @videlec @KPanComputes @dimpase

Component: combinatorial designs

Author: Nathann Cohen

Branch: aad8ee5

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/16741

@nathanncohen nathanncohen mannequin added this to the sage-6.3 milestone Jul 30, 2014
@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jul 30, 2014

Branch: u/ncohen/16741

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Jul 30, 2014

comment:1

This really was triky to fix. The permutation code tries to handle several incompatible input i.e. tries to guess whether input is given in list notation or cycle notation, and guesses that from the type list/tuple of input.

Plus some permutation code WANTS permutations on 1...n, others on 0,...,n-1 and others handle everything...

@nathanncohen

This comment has been minimized.

@nathanncohen nathanncohen mannequin added the s: needs review label Jul 30, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 30, 2014

Commit: aad8ee5

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Jul 30, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

aad8ee5trac #16741: Bug in IncidenceStructure.relabel when the ground set consists of pairs

@dimpase
Copy link
Member

dimpase commented Jul 30, 2014

comment:3

when I read the permgroups code, I think: "FORTRAN" :-)

@nathanncohen nathanncohen mannequin changed the title Bug in IncidenceStructure.relabel when the ground set consists of pairs Bug in IncidenceStructure.automorphism_group when the ground set consists of pairs Aug 1, 2014
@dimpase
Copy link
Member

dimpase commented Aug 1, 2014

comment:5

LGTM

@nathanncohen
Copy link
Mannequin Author

nathanncohen mannequin commented Aug 1, 2014

comment:6

Thaaaaaaaannks !

Nathann

@vbraun
Copy link
Member

vbraun commented Aug 1, 2014

comment:7

name

@dimpase
Copy link
Member

dimpase commented Aug 1, 2014

Reviewer: Dima Pasechnik

@vbraun
Copy link
Member

vbraun commented Aug 2, 2014

Changed branch from u/ncohen/16741 to aad8ee5

@vbraun
Copy link
Member

vbraun commented Aug 2, 2014

comment:10

PDF docs:

LaTeX Warning: Hyper reference `sage/combinat/designs/incidence_structures:sage
.combinat.designs.incidence_structures.IncidenceStructure.is_t_design' on page 
244 undefined on input line 20504.

[244] [245] [246]
! Double subscript.
l.20746 ...tion, see the ;wikipedia:$Packing_in_a_
                                                  hypergraph$.

@vbraun
Copy link
Member

vbraun commented Aug 2, 2014

Changed commit from aad8ee5 to none

@vbraun vbraun reopened this Aug 2, 2014
@vbraun
Copy link
Member

vbraun commented Aug 2, 2014

comment:11

wrong ticket

@vbraun vbraun closed this as completed Aug 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants