aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/ffnb.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/ffnb.spad.pamphlet')
-rw-r--r--src/algebra/ffnb.spad.pamphlet4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/algebra/ffnb.spad.pamphlet b/src/algebra/ffnb.spad.pamphlet
index fdf96d46..25c1e782 100644
--- a/src/algebra/ffnb.spad.pamphlet
+++ b/src/algebra/ffnb.spad.pamphlet
@@ -555,7 +555,7 @@ FiniteFieldNormalBasisExtensionByPolynomial(GF,uni): Exports == _
generator() == normalElement(extdeg)$INBFF
basis(n:PI) ==
(extdeg rem n) ~= 0 => error "argument must divide extension degree"
- [Frobenius(trace(normalElement,n),i) for i in 0..(n-1)]::(Vector $)
+ [Frobenius(trace(normalElement(),n),i) for i in 0..(n-1)]::(Vector $)
a:GF * x:$ == a *$Rep x
@@ -843,6 +843,8 @@ FiniteFieldNormalBasis(p,extdeg):_
<<license>>=
--Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
--All rights reserved.
+--Copyright (C) 2007-2010, Gabriel Dos Reis.
+--All rights reserved.
--
--Redistribution and use in source and binary forms, with or without
--modification, are permitted provided that the following conditions are