Skip to content

Commit

Permalink
Correct typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
alicjapolanska committed May 10, 2024
1 parent a5074ea commit 892a7f8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions harmonic/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,11 @@ def make_flow(self, temperature: float = 1.0):
flow = distrax.Inverse(distrax.Chain(layers))

if not self.multimodal_base:
base_dist = distrax.Independent(
distrax.MultivariateNormalFullCovariance(
loc=jnp.zeros(self.n_features),
covariance_matrix=jnp.eye(self.n_features) * temperature,
)
base_dist = distrax.MultivariateNormalFullCovariance(
loc=jnp.zeros(self.n_features),
covariance_matrix=jnp.eye(self.n_features) * temperature,
)

else:
base_dist = distrax.MixtureOfTwo(
0.5,
Expand Down

0 comments on commit 892a7f8

Please sign in to comment.