From d31cf5649abc96d947549cbfaca567d6f61755f6 Mon Sep 17 00:00:00 2001 From: Alejandro Weinstein Date: Tue, 31 Jan 2012 08:29:20 -0700 Subject: [PATCH] Fixed typo. --- slide_puzzle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slide_puzzle.py b/slide_puzzle.py index e4acc9d..7ffbbfd 100644 --- a/slide_puzzle.py +++ b/slide_puzzle.py @@ -100,7 +100,7 @@ def h(self, grid=None): Use the sum of the Manhattan distances from current position to the goal. - If `grid` is None, use the current state grid. Other wise use `grid`. + If `grid` is None, use the current state grid. Otherwise use `grid`. """ if grid is None: grid = self.grid