From 7fe9066e79d46cd3a7673301bb41fceda683f503 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 12 Jun 2010 00:23:12 +0000 Subject: * algebra/tree.spad.pamphlet (node?$Tree): Fix thinko. --- src/algebra/tree.spad.pamphlet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/algebra/tree.spad.pamphlet') diff --git a/src/algebra/tree.spad.pamphlet b/src/algebra/tree.spad.pamphlet index 7b659368..a4249665 100644 --- a/src/algebra/tree.spad.pamphlet +++ b/src/algebra/tree.spad.pamphlet @@ -111,7 +111,7 @@ Tree(S: SetCategory): T==C where distance1(t2, t1) node?(t1, t2) == t1 = t2 => true - t case empty => false + t2 case empty => false "or"/[node?(t1, t) for t in children t2] leaf? t == t case empty => false -- cgit v1.2.3