-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return -Inf in logpdf of LKJCholesky when out of support (#1610)
* ArgumentError to DomainError * add test * return -Inf * Update test/cholesky/lkjcholesky.jl Co-authored-by: David Widmann <[email protected]> * fix and test Float32 support * remove redundant test * Update src/matrix/lkj.jl Co-authored-by: David Widmann <[email protected]> * Update test/cholesky/lkjcholesky.jl Co-authored-by: David Widmann <[email protected]> * fix sumlogs * simplify condition * Update src/matrix/lkj.jl Co-authored-by: David Widmann <[email protected]> * Update src/matrix/lkj.jl Co-authored-by: David Widmann <[email protected]> * Update src/matrix/lkj.jl Co-authored-by: David Widmann <[email protected]> * Remove static type parameter * Update src/matrix/lkj.jl * fix tests * more type generalisations * Update test/cholesky/lkjcholesky.jl Co-authored-by: David Widmann <[email protected]> * Update test/cholesky/lkjcholesky.jl Co-authored-by: David Widmann <[email protected]> * address comments Co-authored-by: David Widmann <[email protected]> Co-authored-by: mohamed82008 <[email protected]>
- Loading branch information
1 parent
2dc764e
commit ca13aa7
Showing
4 changed files
with
32 additions
and
24 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
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