diff options
author | dos-reis <gdr@axiomatics.org> | 2011-03-12 22:56:37 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-03-12 22:56:37 +0000 |
commit | 6c75a87d8ee00d48a0f5703aa9c86591078a50d3 (patch) | |
tree | 28ff587bbc4d759dd0e3f96b156700ff01ba8c53 /src/algebra/modmon.spad.pamphlet | |
parent | a2e3e641bdbcb6e77bbb572aea25a748a967abca (diff) | |
download | open-axiom-6c75a87d8ee00d48a0f5703aa9c86591078a50d3.tar.gz |
* src/algebra/: Systematically use not one? when comparing for
equality with 1.
Diffstat (limited to 'src/algebra/modmon.spad.pamphlet')
-rw-r--r-- | src/algebra/modmon.spad.pamphlet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/modmon.spad.pamphlet b/src/algebra/modmon.spad.pamphlet index 84c10d58..cb60793e 100644 --- a/src/algebra/modmon.spad.pamphlet +++ b/src/algebra/modmon.spad.pamphlet @@ -73,7 +73,7 @@ ModMonic(R,Rep): C == T setPoly (mon : Rep) == mon =$Rep m => mon oldm := m - leadingCoefficient mon ~= 1 => error "polynomial must be monic" + not one? leadingCoefficient mon => error "polynomial must be monic" -- following copy code needed since FFPOLY can modify mon copymon:Rep:= 0 while not zero? mon repeat |