Skip to content

Commit

Permalink
Increased threshold in HHL test
Browse files Browse the repository at this point in the history
  • Loading branch information
renezander90 committed Feb 26, 2025
1 parent 9027506 commit 1243154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jax_tests/test_HHL_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def main():
x = (np.linalg.inv(A) @ b) / np.linalg.norm(np.linalg.inv(A) @ b)
print(x)

assert np.linalg.norm(np.abs(x_)-np.abs(x)) < 1e-2
assert np.linalg.norm(np.abs(x_)-np.abs(x)) < 1e-1

############################################################

Expand Down

0 comments on commit 1243154

Please sign in to comment.