Skip to content

Commit a2b498c

Browse files
authored
Corrects disabling of arguments when creating Normal distribution (#69)
1 parent c70e4b5 commit a2b498c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rsl_rl/modules/actor_critic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(
6767
self.std = nn.Parameter(init_noise_std * torch.ones(num_actions))
6868
self.distribution = None
6969
# disable args validation for speedup
70-
Normal.set_default_validate_args = False
70+
Normal.set_default_validate_args(False)
7171

7272
# seems that we get better performance without init
7373
# self.init_memory_weights(self.memory_a, 0.001, 0.)

0 commit comments

Comments
 (0)