aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/opalg.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/opalg.spad.pamphlet')
-rw-r--r--src/algebra/opalg.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/opalg.spad.pamphlet b/src/algebra/opalg.spad.pamphlet
index d710a5aa..759f9136 100644
--- a/src/algebra/opalg.spad.pamphlet
+++ b/src/algebra/opalg.spad.pamphlet
@@ -173,7 +173,7 @@ ModuleOperator(R: Ring, M:LeftModule(R)): Exports == Implementation where
g := rec.gen
e > 0 =>
for i in 1..e repeat r := opeval(g, r)
- e < 0 =>
+ negative? e =>
for i in 1..(-e) repeat r := opInvEval(g, r)
r