aboutsummaryrefslogtreecommitdiff
path: root/cpp/nissy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/nissy.cpp')
-rw-r--r--cpp/nissy.cpp6
1 files changed, 0 insertions, 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 {
196 if (err < 0) 196 if (err < 0)
197 return result; 197 return result;
198 198
199 // TODO: is this special case actually needed? Remove if not
200 if (err == 0) {
201 result.solutions = {};
202 return result;
203 }
204
205 std::string_view strsols(csols.data()); 199 std::string_view strsols(csols.data());
206 for (auto r : strsols | std::views::split('\n')) 200 for (auto r : strsols | std::views::split('\n'))
207 if (r.begin() != r.end()) 201 if (r.begin() != r.end())

Generated with cgit - Back to sebastiano.tronto.net