Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kučera Petr RNDr. Ph.D.
PCCompile
Commits
86fc8986
Commit
86fc8986
authored
Jan 08, 2022
by
Kučera Petr RNDr. Ph.D.
Browse files
Fix in DIMACS parsing
parent
718d5a45
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/dimacs.h
View file @
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
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment