Skip to content

Commit

Permalink
Remove accidental SVD
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel-github committed Nov 26, 2024
1 parent 671cc9c commit 5001aa9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cellcommunicationpf2/tests/test_OP.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ def test_project_data_output_proj_matrix():
np.linalg.qr(np.random.rand(cells, rank))[0] for _ in range(num_tensors)
]

for i in range(len(projections)):
proj = projections[i]
U, _, Vt = np.linalg.svd(proj, full_matrices=False)
projections[i] = U @ Vt

# Recreate the original tensor using the projection matrices and projected tensor
recreated_tensors = []
for i in range(num_tensors):
Expand Down

0 comments on commit 5001aa9

Please sign in to comment.