Skip to content

Commit

Permalink
allow singular covariance (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
aloctavodia authored Aug 29, 2023
1 parent 01986c0 commit b997441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preliz/distributions/continuous_multivariate.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ def _parametrization(self, mu=None, cov=None, tau=None):
def _get_frozen(self):
frozen = None
if all_not_none(self):
frozen = self.dist(mean=self.mu, cov=self.cov)
frozen = self.dist(mean=self.mu, cov=self.cov, allow_singular=True)
return frozen

def _update(self, mu, cov):
Expand Down

0 comments on commit b997441

Please sign in to comment.