Skip to content

Commit

Permalink
Improved a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
RuchitJagodara committed Dec 9, 2023
1 parent ed8e719 commit 4757770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/matrix/matrix2.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -18670,7 +18670,7 @@ def _matrix_power_symbolic(A, n):
if hasattr(mk, 'radical_expression'):
mk = mk.radical_expression()

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

0 comments on commit 4757770

Please sign in to comment.