Commit 86fc8986 authored by Kučera Petr RNDr. Ph.D.'s avatar Kučera Petr RNDr. Ph.D.
Browse files

Fix in DIMACS parsing

parent 718d5a45
......@@ -122,7 +122,8 @@ template <class InputIterator>
SUBool::Dimacs::skip_blanks(InputIterator begin, InputIterator end)
return std::find_if_not(begin, end, [](auto c) { return std::isblank(c); });
return std::find_if_not(
begin, end, [](auto c) { return c != '\n' && std::isspace(c); });
template <class InputIterator>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment