mirror of
https://github.com/xfarrow/lasd.git
synced 2025-06-05 21:49:14 +02:00
Library 3 & Library 4
- resolved bug in library 3 (and in lib4) - 0 errors in simpletests for library 4
This commit is contained in:
@ -419,7 +419,7 @@ void BTPostOrderIterator<Data>::operator++(){
|
||||
if(stack.Empty()){
|
||||
curr = nullptr;
|
||||
}else{
|
||||
if( curr == &((stack.Top())->LeftChild()) ){
|
||||
if((stack.Top())->HasLeftChild() && curr == &((stack.Top())->LeftChild()) ){
|
||||
if( (stack.Top())->HasRightChild() ){
|
||||
curr = DeepestLeftLeaf(&((stack.Top())->RightChild()));
|
||||
}else{
|
||||
|
Reference in New Issue
Block a user