aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/elemntry.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/elemntry.spad.pamphlet')
-rw-r--r--src/algebra/elemntry.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/elemntry.spad.pamphlet b/src/algebra/elemntry.spad.pamphlet
index e102aade..ec9e0a56 100644
--- a/src/algebra/elemntry.spad.pamphlet
+++ b/src/algebra/elemntry.spad.pamphlet
@@ -647,7 +647,7 @@ ElementaryFunction(R, F): Exports == Implementation where
ilog x
ilog x ==
- ((num1 := one?(num := numer x)) or num = -1) and (den := denom x) ~= 1
+ ((num1 := one?(num := numer x)) or num = -1) and not one?(den := denom x)
and empty? variables x => - kernel(oplog, (num1 => den; -den)::F)
kernel(oplog, x)