Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
f6dd537e
Commit
f6dd537e
authored
Jul 08, 2022
by
charlie
Browse files
Fix any_of
parent
5c970b52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/include/migraphx/check_shapes.hpp
src/include/migraphx/check_shapes.hpp
+1
-1
No files found.
src/include/migraphx/check_shapes.hpp
View file @
f6dd537e
...
@@ -320,7 +320,7 @@ struct check_shapes
...
@@ -320,7 +320,7 @@ struct check_shapes
bool
any_of
(
Predicate
p
)
const
bool
any_of
(
Predicate
p
)
const
{
{
if
(
begin
==
end
)
if
(
begin
==
end
)
return
tru
e
;
return
fals
e
;
assert
(
begin
!=
nullptr
);
assert
(
begin
!=
nullptr
);
assert
(
end
!=
nullptr
);
assert
(
end
!=
nullptr
);
return
std
::
any_of
(
begin
,
end
,
p
);
return
std
::
any_of
(
begin
,
end
,
p
);
...
...
Write
Preview
Markdown
is supported
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