Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fixing compatibility with changes in binary_tree.py
Browse files Browse the repository at this point in the history
  • Loading branch information
patxikuku authored and Adrien Boussicault committed Jul 1, 2016
1 parent b7f9e63 commit 09a468b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/combinat/non_ambiguous_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ def left_node_number( self ):
sage: nat.left_node_number() == nat.height() - 1
True
'''
return self.get_tree().left_node_number()
return self.get_tree().left_children_node_number()

def right_node_number( self ):
r'''
Expand All @@ -784,7 +784,7 @@ def right_node_number( self ):
sage: nat.right_node_number() == nat.width() - 1
True
'''
return self.get_tree().right_node_number()
return self.get_tree().left_children_node_number(direction='right')

def width( self ):
r'''
Expand Down

0 comments on commit 09a468b

Please sign in to comment.