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

Merge branch 'master' into feature

parents c3f596ed 86fc8986
......@@ -122,7 +122,8 @@ template <class InputIterator>
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