From a54aca8c923609cc4e786b19a06abf7cacb6645a Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 14 Apr 2025 14:03:22 +0200 Subject: Removed unnecessary check --- cpp/nissy.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cpp/nissy.cpp b/cpp/nissy.cpp index ad0eb7c..e3193e1 100644 --- a/cpp/nissy.cpp +++ b/cpp/nissy.cpp @@ -196,12 +196,6 @@ namespace nissy { if (err < 0) return result; - // TODO: is this special case actually needed? Remove if not - if (err == 0) { - result.solutions = {}; - return result; - } - std::string_view strsols(csols.data()); for (auto r : strsols | std::views::split('\n')) if (r.begin() != r.end()) -- cgit v1.3