Skip to content

Commit 42c5c51

Browse files
Saurav AgarwalSaurav Agarwal
authored andcommitted
fix return
1 parent 8643072 commit 42c5c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/coverage_control/algorithms/controllers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,5 @@ def step(self, env):
152152

153153
# Check if actions are all zeros (1e-12)
154154
if torch.allclose(actions, torch.zeros_like(actions), atol=1e-5):
155-
return env.GetObjectiveValue(), True
155+
return True
156156
return False

0 commit comments

Comments
 (0)