This commit is contained in:
acki
2025-05-29 17:24:38 -04:00
parent 031fa82a0f
commit f551cafc31

View File

@@ -336,7 +336,7 @@ namespace Modelec
};
};
AStarNode start_node{start_x, start_y};
AStarNode start_node{static_cast<int>(start_x), static_cast<int>(start_y)};
start_node.g = 0;
start_node.f = Heuristic(start_x, start_y, goal_x, goal_y);