From 52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 12 Mar 2011 17:04:43 +0000 Subject: * src/algebra/: Systematically use negative? when comparing for less than 0. --- src/algebra/fnla.spad.pamphlet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/algebra/fnla.spad.pamphlet') diff --git a/src/algebra/fnla.spad.pamphlet b/src/algebra/fnla.spad.pamphlet index 36541ce6..d2e6b579 100644 --- a/src/algebra/fnla.spad.pamphlet +++ b/src/algebra/fnla.spad.pamphlet @@ -131,7 +131,7 @@ HallBasis() : Export == Implement where Implement ==> add lfunc(d,n) == - n < 0 => 0 + negative? n => 0 n = 0 => 1 n = 1 => d sum:I := 0 -- cgit v1.2.3