commit a54aca8c923609cc4e786b19a06abf7cacb6645a
parent 3ab1012ea8c55f82812b5998fd6b4fdf53dea70e
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Mon, 14 Apr 2025 14:03:22 +0200
Removed unnecessary check
Diffstat:
1 file changed, 0 insertions(+), 6 deletions(-)
diff --git 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())