Skip to content

Commit 4757770

Browse files
Improved a comment
1 parent ed8e719 commit 4757770

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/matrix/matrix2.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18670,7 +18670,7 @@ def _matrix_power_symbolic(A, n):
1867018670
if hasattr(mk, 'radical_expression'):
1867118671
mk = mk.radical_expression()
1867218672

18673-
# Return mk^(n-i) instead of mk**(n-i) if mk=0
18673+
# If mk=0 return mk^(n-i) instead of mk**(n-i)
1867418674
if mk:
1867518675
vk = [(binomial(n, i) * mk._pow_(n-i)).simplify_full()
1867618676
for i in range(nk)]

0 commit comments

Comments
 (0)