Skip to content

Commit

Permalink
reduce diag boost
Browse files Browse the repository at this point in the history
  • Loading branch information
calebweinreb committed Jul 29, 2023
1 parent 4e5345f commit 44d8c7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamax/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def find_permutation(
return perm


def psd_solve(A, b, diagonal_boost=1e-6):
def psd_solve(A, b, diagonal_boost=1e-9):
"""A wrapper for coordinating the linalg solvers used in the library for psd matrices."""
A = symmetrize(A) + diagonal_boost * jnp.eye(A.shape[-1])
L, lower = cho_factor(A, lower=True)
Expand Down

0 comments on commit 44d8c7d

Please sign in to comment.