Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed _matrix_power_symbolic function to condier mk=0 case
This fixes sagemath#36838. Here, I have added a condition to check whether mk=0 or not. Because whenever mk=0 we should give mk^(n-i) (i.e. 0^(n-i)) instead of only 0 considering (n-i) can be equal to zero and in this case 0^(n-i) will be more accurate than only 0.
- Loading branch information