diff --git a/route-planning.md b/route-planning.md index f0ef681..61b37a8 100644 --- a/route-planning.md +++ b/route-planning.md @@ -120,7 +120,7 @@ Obliczamy g — koszt przejścia od pola początkowego do pola końcowego, zgodn if tentative_is_better == True: self.came_from[y] = x self.g_score[y] = tentative_g_score - self.f_score[y] = self.g_score[y] + self.hscore(y, koniec) + self.f_score[y] = self.g_score[y] + self.h_score(y, koniec) ```