aboutsummaryrefslogtreecommitdiff
path: root/src/interp/clam.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/clam.boot')
-rw-r--r--src/interp/clam.boot10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interp/clam.boot b/src/interp/clam.boot
index 14f59535..56347798 100644
--- a/src/interp/clam.boot
+++ b/src/interp/clam.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2009, Gabriel Dos Reis.
+-- Copyright (C) 2007-2010, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -626,7 +626,7 @@ lassocShift(x,l) ==
EQUAL(x,first QCAR y) => return (result := QCAR y)
y:= QCDR y
result =>
- if NEQ(y,l) then
+ if not EQ(y,l) then
QRPLACA(y,first l)
QRPLACA(l,result)
QCDR result
@@ -638,7 +638,7 @@ lassocShiftWithFunction(x,l,fn) ==
FUNCALL(fn,x,first QCAR y) => return (result := QCAR y)
y:= QCDR y
result =>
- if NEQ(y,l) then
+ if not EQ(y,l) then
QRPLACA(y,first l)
QRPLACA(l,result)
QCDR result
@@ -650,7 +650,7 @@ lassocShiftQ(x,l) ==
EQ(x,first first y) => return (result := first y)
y:= rest y
result =>
- if NEQ(y,l) then
+ if not EQ(y,l) then
RPLACA(y,first l)
RPLACA(l,result)
rest result
@@ -662,7 +662,7 @@ lassocShiftQ(x,l) ==
-- EQ(x,rest first y) => return (result := first y)
-- y:= rest y
-- result =>
--- if NEQ(y,l) then
+-- if not EQ(y,l) then
-- RPLACA(y,first l)
-- RPLACA(l,result)
-- first result