aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/array2.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-03 04:23:42 +0000
commit001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 (patch)
treeda9e2fe5d81ff4cd7709d12e44b8c3e348b8a8e3 /src/algebra/array2.spad.pamphlet
parenta7bab9a6c2070d05e2dbd256ce455079c8ced385 (diff)
downloadopen-axiom-001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532.tar.gz
Replace `^=' with `~='.
Diffstat (limited to 'src/algebra/array2.spad.pamphlet')
-rw-r--r--src/algebra/array2.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/array2.spad.pamphlet b/src/algebra/array2.spad.pamphlet
index ef540c42..f6a89047 100644
--- a/src/algebra/array2.spad.pamphlet
+++ b/src/algebra/array2.spad.pamphlet
@@ -192,7 +192,7 @@ TwoDimensionalArrayCategory(R,Row,Col): Category == Definition where
m
map(f,m,n) ==
- (nrows(m) ^= nrows(n)) or (ncols(m) ^= ncols(n)) =>
+ (nrows(m) ~= nrows(n)) or (ncols(m) ~= ncols(n)) =>
error "map: arguments must have same dimensions"
ans := new(nrows m,ncols m,NIL$Lisp)
for i in minRowIndex(m)..maxRowIndex(m) repeat
@@ -229,7 +229,7 @@ TwoDimensionalArrayCategory(R,Row,Col): Category == Definition where
m = n ==
eq?(m,n) => true
- (nrows(m) ^= nrows(n)) or (ncols(m) ^= ncols(n)) => false
+ (nrows(m) ~= nrows(n)) or (ncols(m) ~= ncols(n)) => false
for i in minRowIndex(m)..maxRowIndex(m) repeat
for j in minColIndex(m)..maxColIndex(m) repeat
not (qelt(m,i,j) = qelt(n,i,j)) => return false