aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/kl.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/kl.spad.pamphlet')
-rw-r--r--src/algebra/kl.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/kl.spad.pamphlet b/src/algebra/kl.spad.pamphlet
index 1c1a19e5..18aa41f0 100644
--- a/src/algebra/kl.spad.pamphlet
+++ b/src/algebra/kl.spad.pamphlet
@@ -93,7 +93,7 @@ SortedCache(S:CachableSet): Exports == Implementation where
zero?(n := triage(x, y := first scan)) =>
setPosition(x, position y)
return y
- n<0 => return insertInCache(first(cache(),(i-1)::N),scan,x,pos)
+ negative? n => return insertInCache(first(cache(),(i-1)::N),scan,x,pos)
scan := rest scan
pos := position y
setPosition(x, pos + DIFF)