diff options
Diffstat (limited to 'src/algebra')
-rw-r--r-- | src/algebra/free.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/free.spad.pamphlet b/src/algebra/free.spad.pamphlet index 9dbf0ea5..19bf701c 100644 --- a/src/algebra/free.spad.pamphlet +++ b/src/algebra/free.spad.pamphlet @@ -542,8 +542,8 @@ FreeAbelianGroup(S:SetCategory): Exports == Implementation where zero? b => ta.exp < 0 ta := inmax terms a tb := inmax terms b - ta.gen < tb.gen => true - ta.gen > tb.gen => false + ta.gen < tb.gen => tb.exp > 0 + ta.gen > tb.gen => ta.exp < 0 ta.exp < tb.exp => true ta.exp > tb.exp => false lc := ta.exp * ta.gen |