ShangtongZhang / reinforcement-learning-an-introduction

Python Implementation of Reinforcement Learning: An Introduction
MIT License
13.58k stars 4.82k forks source link

Chapter 4:seems missing self. before TRUNCATE #113

Closed ZiqiChai closed 5 years ago

ZiqiChai commented 5 years ago

for req1 in range(0, self.TRUNCATE): for req2 in range(0, self.TRUNCATE):

in this kind of situations, seems missing "self." before "TRUNCATE", so it will cause errors like TRUNCATE not defined.

ShangtongZhang commented 5 years ago

Fixed. Thanks!