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 32d3eb21..e102aade 100644
--- a/src/algebra/elemntry.spad.pamphlet
+++ b/src/algebra/elemntry.spad.pamphlet
@@ -277,7 +277,7 @@ ElementaryFunction(R, F): Exports == Implementation where
acsch x == opacsch x
kernel x == retract(x)@K
- posrem(n, m) == ((r := n rem m) < 0 => r + m; r)
+ posrem(n, m) == (negative?(r := n rem m) => r + m; r)
valueOrPole rec == (rec.pole => INV; rec.func)
belong? op == has?(op, 'elem)