diff options
Diffstat (limited to 'src/algebra/pf.spad.pamphlet')
-rw-r--r-- | src/algebra/pf.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/pf.spad.pamphlet b/src/algebra/pf.spad.pamphlet index 38c956bb..ee7dbd24 100644 --- a/src/algebra/pf.spad.pamphlet +++ b/src/algebra/pf.spad.pamphlet @@ -152,9 +152,9 @@ InnerPrimeField(p:PositiveInteger): Exports == Implementation where tbl:TBL:=table()$TBL a:$:=1 for i in (0::NNI)..(n-1)::NNI repeat - insert_!([lookup(a),i::NNI]$R,tbl)$TBL + insert!([lookup(a),i::NNI]$R,tbl)$TBL a:=a*base - insert_!([fac::PI,copy(tbl)$TBL]_ + insert!([fac::PI,copy(tbl)$TBL]_ $Record(key:PI,entry:TBL),discLogTable)$Table(PI,TBL) -- tell user about initialization -- print("discrete logarithm table initialized"::OUT) |