aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/clifford.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/clifford.spad.pamphlet')
-rw-r--r--src/algebra/clifford.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/clifford.spad.pamphlet b/src/algebra/clifford.spad.pamphlet
index 262afa86..8e85a25d 100644
--- a/src/algebra/clifford.spad.pamphlet
+++ b/src/algebra/clifford.spad.pamphlet
@@ -389,7 +389,7 @@ CliffordAlgebra(n, K, Q): T == Impl where
c = 1 => be
c::Ex * be
coerce(x): Ex ==
- tl := [coerceMonom(x.i,i) for i in 0..dim-1 | x.i~=0]
+ tl := [coerceMonom(x.i,i) for i in 0..dim-1 | not zero? x.i]
null tl => "0"::Ex
reduce("+", tl)