From 4ee9a93fa2ffd3ff97a5a6114a777888e3d3596f Mon Sep 17 00:00:00 2001 From: Justin Shetty Date: Wed, 22 May 2024 16:30:26 +0900 Subject: [PATCH] don't capture start and goals as part of solution --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 4405817..41a58ae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -27,6 +27,9 @@ int main(int argc, char *argv[]) std::string line; std::smatch m, results; while (getline(solution_file, line)) { + // so we only process real solution lines + if(line.find(":(") == std::string::npos) continue; + auto iter = line.cbegin(); Config c; while (iter < line.cend()) {