[Insight-users] question about ChildTreeIterator--A bug?

Julien Jomier jjomier at cs.unc.edu
Thu Nov 3 15:09:59 EST 2005


Hi Jian,

There was a bug in the ChildTreeIterator class.
I just commited a fix in the cvs repository.

Thanks for the report,

Julien

Jian Wu wrote:
> Hello,
> I got unexpected results from running the example code: 
> Examples/DataRepresentation/Containers/TreeContaineer.cxx
> The segment of the code that demonstrates the itk::ChildTreeIterator 
> gave the screen output of
> 0
> 2
> 3
> But I expected the output should be
> 1
> 2
> 3
> since the nodes 1,2,3 are the childern of 0 according to the tree 
> structure. Is there a bug or I didn't interperate is correctly? Please 
> help!
> 
> Regards,
> Jian Wu
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 


More information about the Insight-users mailing list