You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be a typo in exercise 7 of Lab 08. In particular, there is a snippet of code which reads:
defmatrix_power(A, n):
"""Compute A^n, the n-th power of the matrix A."""product=A.copy()
temporary_array=np.empty_like(A[0])
m=A.shape[0]
forpowerinrange(1, power):
#...
I think that the for loop should be changed to:
forpowerinrange(1, n):
This can also be found on line 757 in the profiling.tex file
The text was updated successfully, but these errors were encountered:
There appears to be a typo in exercise 7 of Lab 08. In particular, there is a snippet of code which reads:
I think that the for loop should be changed to:
This can also be found on line 757 in the
profiling.tex
fileThe text was updated successfully, but these errors were encountered: