Skip to content

Commit

Permalink
Better preserve PD information
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Dec 19, 2021
1 parent a5b58ff commit ba343d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matrix/ops/logdet.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def logdet(a: Union[Diagonal, LowerTriangular, UpperTriangular]):

@B.dispatch
def logdet(a: Woodbury):
return B.logdet(a.diag) + B.logdet(a.lr.middle) + B.logdet(B.schur(a))
return B.logdet(a.diag) + B.logdet(a.lr.middle) + B.logdet(B.pd_schur(a))


@B.dispatch
Expand Down

0 comments on commit ba343d6

Please sign in to comment.