Silly bug in fsplay.c
Matthew Dempsky <[email protected]> 04 May 2004 21:52:40 -0500
| Newsgroups | gmane.lisp.scheme.pika.devel |
|---|---|
| Message-ID | <[email protected]> |
I found (and fixed) a little bug in fsplay.c: [email protected]/hackerlab--splay--1.0--patch-1. (I attached the diff anyways so that Tom can blush on list. ;-) -jivera --- orig/splay/fsplay.c +++ mod/splay/fsplay.c @@ -500,7 +500,7 @@ */ return tree; } - else if (cmp < 0) + else if (cmp_order < 0) { /* The desired root node is in the left subtree, if the left subtree exists. */