Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MorvanZhou committed Oct 24, 2018
1 parent aea72bc commit 81fea33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contents/2_Q_Learning_maze/maze_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _build_maze(self):

# create grids
for c in range(0, MAZE_W * UNIT, UNIT):
x0, y0, x1, y1 = c, 0, c, MAZE_H * UNIT
x0, y0, x1, y1 = c, 0, c, MAZE_W * UNIT
self.canvas.create_line(x0, y0, x1, y1)
for r in range(0, MAZE_H * UNIT, UNIT):
x0, y0, x1, y1 = 0, r, MAZE_H * UNIT, r
Expand Down

0 comments on commit 81fea33

Please sign in to comment.