#19446: Hook statistics in binary Trees
-------------------------------------+-------------------------------------
Reporter: boussica | Owner: boussica
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.10
Component: combinatorics | Resolution:
Keywords: binary trees, | Merged in:
hook | Reviewers:
Authors: Adrien | Work issues:
Boussicault, Bérénice Delcroix- | Commit:
Oger, Patxi Laborde-Zubieta | 238b35298dae93ef5e2fb7365c65b9c9b25662a0
Report Upstream: N/A | Stopgaps:
Branch: |
u/oger/hook_statistics_in_binary_trees|
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by chapoton):
So you do not want this to be reviewed ??
Anyway, you can replace
{{{
if len(L)>0:
}}}
by
{{{
if len(L):
}}}
and also
{{{
tn[0]=tn[0]+1
}}}
by
{{{
tn[0] += 1
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19446#comment:11>
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.