def _setTemperature(self):
        if self.useNetworks:
            self.opponent.temperature = self.temp
            self.player.temperature = self.temp
            return True
        elif hasattr(self.opponent, 'randomPartMoves'):
            # an approximate conversion of temperature into random proportion:
            randPart = (self.temp+1)/self.temp
            self.opponent.randomPartMoves = randPart
            self.player.randomPartMoves = randPart
            return True
        else:
            return False
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/twoplayergames/tasks/relativegomokutask.py/RelativeGomokuTask._setTemperature/swapped operands of `/`