Fix: missing brackets

This commit is contained in:
Dominik Moritz Roth 2023-08-22 00:21:43 +02:00
parent e6071a546b
commit e39f1573cf

View File

@ -804,7 +804,7 @@ class Actor(BasePolicy):
self.latent_pi = nn.Sequential(*latent_pi_net)
last_layer_dim = net_arch[-1] if len(net_arch) > 0 else features_dim
assert not self.use_sde and self.use_pca
assert not (self.use_sde and self.use_pca)
if self.use_pca:
self.action_dist = PCA_Distribution(