diff options
author | dos-reis <gdr@axiomatics.org> | 2008-05-21 09:19:42 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-05-21 09:19:42 +0000 |
commit | 3d4551c96816f2ab03f7f26746ff7bea672ef23d (patch) | |
tree | 0c5d1123ec99ef623cb8d0e9c3f916099d2d64ea | |
parent | bdf3f9837adc3a9d6666c38fe0a8a22a79b9bfaa (diff) | |
download | open-axiom-3d4551c96816f2ab03f7f26746ff7bea672ef23d.tar.gz |
Fix AW/343
* algebra/free.spad.pamphlet (<$FreeAbelianGroup): Fix ordering.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/algebra/free.spad.pamphlet | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bef613d9..81fb283a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-05-21 Martin Rubey <martin.rubey@univie.ac.at> + + Fix AW/343 + * algebra/free.spad.pamphlet (<$FreeAbelianGroup): Fix ordering. + 2008-05-19 Gabriel Dos Reis <gdr@cs.tamu.edu> * boot/ast.boot: Cleanup. 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 |