aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/numtheor.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/numtheor.spad.pamphlet')
-rw-r--r--src/algebra/numtheor.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/numtheor.spad.pamphlet b/src/algebra/numtheor.spad.pamphlet
index 6954e930..4bce04db 100644
--- a/src/algebra/numtheor.spad.pamphlet
+++ b/src/algebra/numtheor.spad.pamphlet
@@ -348,7 +348,7 @@ IntegerNumberTheoryFunctions(): Exports == Implementation where
odd? n => 0
l := (#E) :: I
n < l => E(n)
- concat_!(E, new((n+1-l)::NNI, 0)$IndexedFlexibleArray(I,0))
+ concat!(E, new((n+1-l)::NNI, 0)$IndexedFlexibleArray(I,0))
for i in 1 .. l by 2 repeat E(i) := 0
-- compute E(i) i = l+2,l+4,...,n given E(j) j = 0,2,...,i-2
t,e : I
@@ -367,7 +367,7 @@ IntegerNumberTheoryFunctions(): Exports == Implementation where
0
l := (#B) :: I
n < l => B(n)
- concat_!(B, new((n+1-l)::NNI, 0)$IndexedFlexibleArray(RN,0))
+ concat!(B, new((n+1-l)::NNI, 0)$IndexedFlexibleArray(RN,0))
for i in 1 .. l by 2 repeat B(i) := 0
-- compute B(i) i = l+2,l+4,...,n given B(j) j = 0,2,...,i-2
for i in l+1 .. n by 2 repeat