On Wed, Aug 29, 2012 at 4:01 PM, David Joyner <[email protected]> wrote: > On Wed, Aug 29, 2012 at 1:41 AM, Chris Smith <[email protected]> wrote: >>> >>> I did >>> >>> she:sympy davidjoyner$ git checkout smichr/combinatorics >>> HEAD is now at b4bb058... permutation: add 0 to non-0-based perm >>> >>> but don't seem to have Cycle defined: >>> >>>>>> from sympy.combinatorics.perm_groups import PermutationGroup >>>>>> from sympy.combinatorics import * >>>>>> a = Cycle()*(1,2) >>> Traceback (most recent call last): >>> File "<console>", line 1, in <module> >>> NameError: name 'Cycle' is not defined >>> >> >> >> Sorry -- caught up with that 20 minutes later. Could you please try again? > > Nope. In fact, I deleted sympy entirely and started form a new version using > > git clone git://github.com/sympy/sympy.git > cd sympy > git remote add smichr https://github.com/smichr/sympy > git fetch smichr > git checkout smichr/combinatorics > > and then got this: > >>>> from sympy.combinatorics import * >>>> from sympy.combinatorics.perm_groups import * >>>> C = DisjointCycle() > Traceback (most recent call last): > File "<console>", line 1, in <module> > NameError: name 'DisjointCycle' is not defined >
It's just called Cycle now (see docstring). /c -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
