From 3c5d23433b3f0c08f137a708f3357a403830eaa7 Mon Sep 17 00:00:00 2001 From: Benjamin Kraft Date: Tue, 19 Dec 2023 14:43:11 +0100 Subject: [PATCH] utils --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index 8891f73..9820a71 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -93,7 +93,7 @@ vector parseInts(const string &data) { } } if (readingInt) - result.push_back(value); + result.push_back(value * (negative ? -1 : 1)); return result; } \ No newline at end of file