Ok, great.


On Sat, Sep 7, 2013 at 12:23 AM, Upabjojr <notifications@github.com> wrote:

> In sympy/tensor/tensor.py:
>
> > @@ -850,8 +905,18 @@ class TensorSymmetry(Basic):
> >      >>> S2 = TensorType([Lorentz]*2, sym2)
> >      >>> V = S2('V')
> >      """
> > -    def __new__(cls, bsgs, **kw_args):
> > -        base, generators = bsgs
> > +    def __new__(cls, *args, **kw_args):
> > +        if len(args) == 1:
> > +            base, generators = args[0]
> > +        elif len(args) == 2:
> > +            base, generators = args
> > +        else:
> > +            raise TypeError("bsgs required, either two separate parameters or one tuple")
>
> Base - strong generating set, I think. It is part of the Butler-Portugal
> algorithm for tensor canonicalization.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sympy/sympy/pull/2445/files#r6224102>
> .
>