Skip to content

Commit 36f4cb5

Browse files
committed
Food test #1
1 parent 9331cc3 commit 36f4cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explorationlib/local_gym.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def check_targets(self):
376376
if self.np_random.rand() <= self.p_target:
377377
self.reward = value
378378
#eat the food
379-
self.values[ind] = 0.0
379+
# self.values[ind] = 0.0
380380
else:
381381
self.reward = 0.0
382382

0 commit comments

Comments
 (0)