-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: TS bug fix: numerical errors leads to deltaA to be non symmetric (order small <1e-8). When summing this it may result with a non-symmetric matrix A which leads to an error in the type check: when sampling from a Gaussian distribution the covariance matrix is required to be both PD and symmetric. The offered solution is to explicitly symmetrize it, hence guarantee deltaA is symmetric. Reviewed By: danielrjiang Differential Revision: D56936024 fbshipit-source-id: 8219ca1e1a1577b0a241c0a2d7848ab02f427c2c
- Loading branch information
1 parent
d1d4dad
commit 84b8772
Showing
2 changed files
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters