#18720: Change diagram algebra basis set partitions from list to generator
-------------------------------------+-------------------------------------
       Reporter:  ghseeli            |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  minor              |    Milestone:  sage-6.8
      Component:  algebra            |   Resolution:
       Keywords:  days65, partition  |    Merged in:
  algebra, diagram algebra           |    Reviewers:
        Authors:  ghseeli            |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  879e2b6d89475802810e573bf8d396e401ab4d06
  u/ghseeli/change_diagram_algebra_basis_set_partitions_from_list_to_generator| 
    Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by ghseeli):

 Ah, I meant to say `if len(tst)%2 != 0 or tst !=
 range(-len(tst)/2,len(tst)/2+1)` so that `len(tst)` is guaranteed to be
 divisible by 2. Does that work better? Thanks for catching the missing
 parenthesis on the except statement.

--
Ticket URL: <http://trac.sagemath.org/ticket/18720#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to