Skip to content

Commit

Permalink
update linalg tests to use fbpca
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Weber authored and Lucas Weber committed Feb 26, 2024
1 parent e9e9ad0 commit 8e1f09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_randomized_svd(self):

# set a threshold for the amount of eigenvectors we want to have and compute them
k = 3
k_eigvals, k_eigvecs = lg.randomized_singular_value_decomposition(self.A, 50)
k_eigvals, k_eigvecs = lg.facebook_randomized_svd(self.A, 50)

# compare the values
np.testing.assert_almost_equal(k_eigvals[:k], self.eigvals[:k])
Expand Down

0 comments on commit 8e1f09f

Please sign in to comment.