diff --git a/2023/src/day08.cpp b/2023/src/day08.cpp index 0d6e0d6..882946a 100644 --- a/2023/src/day08.cpp +++ b/2023/src/day08.cpp @@ -56,7 +56,7 @@ long part_2_slow(const std::vector &cycles) { } else { diffs.push_back(base_cycle.length); } - long step = base_cycle.start; + long step = 0; std::size_t i = 0; long counter = 0; // while any of the cycles aren't at a finish node: