aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/matrix.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/matrix.spad.pamphlet')
-rw-r--r--src/algebra/matrix.spad.pamphlet3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/algebra/matrix.spad.pamphlet b/src/algebra/matrix.spad.pamphlet
index a456deec..d2b603d8 100644
--- a/src/algebra/matrix.spad.pamphlet
+++ b/src/algebra/matrix.spad.pamphlet
@@ -153,8 +153,7 @@ Matrix(R): Exports == Implementation where
positivePower:($,Integer,NonNegativeInteger) -> $
positivePower(x,n,nn) ==
--- one? n => x
- (n = 1) => x
+ one? n => x
-- no need to allocate space for 3 additional matrices
n = 2 => x * x
n = 3 => x * x * x