Opened 8 years ago

Closed 7 years ago

#14860 closed defect (fixed)

Bug on binary trees

Reported by: VivianePons Owned by: sage-combinat
Priority: major Milestone: sage-5.12
Component: combinatorics Keywords: BinaryTrees, FindStat
Cc: stumpc5, chrisjamesberg, tscrim Merged in: sage-5.12.beta1
Authors: Viviane Pons Reviewers: Christian Stump
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

The left-border symmetry and left-right symmetry of a leaf retuens None instead of a leaf.

sage: b = BinaryTree()
sage: b.left_border_symmetry()
sage: b.left_right_symmetry() 
sage: b.left_border_symmetry() in BinaryTrees()
Fals

Attachments (1)

trac_14860-bug-binary-trees-vp.patch (1.6 KB) - added by VivianePons 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by VivianePons

comment:1 Changed 8 years ago by stumpc5

  • Reviewers set to Christian Stump
  • Status changed from new to needs_review

looks good to me!

comment:2 Changed 8 years ago by stumpc5

  • Status changed from needs_review to positive_review

comment:3 Changed 8 years ago by stumpc5

  • Keywords FindStat added

comment:4 Changed 7 years ago by jdemeyer

  • Merged in set to sage-5.12.beta1
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.