Fix NoRewardSquareRoom.reward

This commit is contained in:
kngwyu
2021-05-27 01:06:06 +09:00
parent 362bba2f79
commit 3812c034c9
+1 -1
View File
@@ -168,7 +168,7 @@ class NoRewardSquareRoom(GoalRewardSimpleRoom):
def __init__(self, scale: float) -> None:
super().__init__(scale)
def reward(self) -> float:
def reward(self, _obs: np.ndarray) -> float:
return 0.0