aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/modring.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/modring.spad.pamphlet')
-rw-r--r--src/algebra/modring.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/modring.spad.pamphlet b/src/algebra/modring.spad.pamphlet
index e4303078..d347318d 100644
--- a/src/algebra/modring.spad.pamphlet
+++ b/src/algebra/modring.spad.pamphlet
@@ -62,7 +62,7 @@ ModularRing(R,Mod,reduction:(R,Mod) -> R,
coerce(x):OutputForm == (x.val)::OutputForm
reduce (a:R,m:Mod) == [reduction(a,m),m]$Rep
- characteristic():NonNegativeInteger == characteristic()$R
+ characteristic:NonNegativeInteger == characteristic$R
0 == [0$R,0$Mod]$Rep
1 == [1$R,0$Mod]$Rep
zero? x == zero? x.val