From 2423645f3a2a70331e5d48c9ef21b0727b43bd87 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 14 Aug 2023 14:27:07 +0200 Subject: [PATCH] Removed log statement --- solver/dfs.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/solver/dfs.go b/solver/dfs.go index e0bd8ab..7df074b 100644 --- a/solver/dfs.go +++ b/solver/dfs.go @@ -1,7 +1,6 @@ package solver import ( - "log" "maze-solver/maze" "maze-solver/utils" ) @@ -13,9 +12,6 @@ type DFSSolver struct { func (s *DFSSolver) Solve(m *maze.Maze) *maze.SolvedMaze { defer utils.Timer("Turn left algorithm", 2)() - log.Println("Starting dfs") - log.Printf("m.Nodes: %v\n", len(m.Nodes)) - current, end := m.Nodes[0], m.Nodes[len(m.Nodes)-1] s.visited = make(map[*maze.Node]bool, len(m.Nodes))