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