Skip to content

Commit

Permalink
delete line break
Browse files Browse the repository at this point in the history
  • Loading branch information
fubel committed Feb 22, 2020
1 parent 41435a4 commit 953b132
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sparselandtools/learning.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def dictionary_update(self, Y: np.ndarray):
if len(wk) == 0:
continue
Ri = R[:,wk] + D[:,k,None].dot(self.alphas[None,k,wk])

U, s, Vh = np.linalg.svd(Ri)
D[:, k] = U[:, 0]
self.alphas[k, wk] = s[0] * Vh[0, :]
Expand Down

0 comments on commit 953b132

Please sign in to comment.