From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,897a9b3156b240b9 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!22g2000hsm.googlegroups.com!not-for-mail From: andrew Newsgroups: comp.lang.ada Subject: Re: I think I'm going to learn something Date: Fri, 09 Nov 2007 08:58:55 -0800 Organization: http://groups.google.com Message-ID: <1194627535.600000.248390@22g2000hsm.googlegroups.com> References: <1194625913.046972.255140@v3g2000hsg.googlegroups.com> <47349051.8030203@obry.net> NNTP-Posting-Host: 139.78.128.110 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1194627535 19906 127.0.0.1 (9 Nov 2007 16:58:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Nov 2007 16:58:55 +0000 (UTC) In-Reply-To: <47349051.8030203@obry.net> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 22g2000hsm.googlegroups.com; posting-host=139.78.128.110; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news1.google.com comp.lang.ada:18231 Date: 2007-11-09T08:58:55-08:00 List-Id: > ???? you have a bug in post_order procedure ! Yep. Sure do. Found it about 30 seconds after posting my message. Well, it's not technically a bug, it's a typo. I copied code out of the in_order procedure to use/alter for the post_order procedure. When I did that I never changed the recursive calls to in_order to be recursive calls to post_order withing the post_order procedure. So post_order recursively called in_order and gave me the in_order output with the post_order order.