Status: Valid
Owner: ----
Labels: Type-Enhancement Priority-Medium Combinatorics

New issue 4028 by [email protected]: Permutation * PermutationGroup should give the coset
http://code.google.com/p/sympy/issues/detail?id=4028

In [5]: a
Out[5]: Permutation(1, 2)

In [6]: b
Out[6]: Permutation(0, 1)

In [7]: G
Out[7]:
    PermutationGroup([
      Permutation(1, 2),
    Permutation(2)(0, 1)])

In [8]: a*G
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-8-b860fc9136f1> in <module>()
----> 1 a*G

/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/combinatorics/permutations.py in __mul__(self, other)
   1241         a = self.array_form
   1242         # __rmul__ makes sure the other is a Permutation
-> 1243         b = other.array_form
   1244         if not b:
   1245             perm = a

AttributeError: 'PermutationGroup' object has no attribute 'array_form'

See https://twitter.com/cwlcks/status/380359799675695104.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to