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
54ccaead
Commit
54ccaead
authored
Jan 12, 2023
by
charlie
Browse files
Fix typo in assert
parent
13f3beb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/shape.cpp
src/shape.cpp
+1
-1
No files found.
src/shape.cpp
View file @
54ccaead
...
@@ -520,7 +520,7 @@ shape::dynamic_dimension& shape::dynamic_dimension::operator-=(const std::size_t
...
@@ -520,7 +520,7 @@ shape::dynamic_dimension& shape::dynamic_dimension::operator-=(const std::size_t
this
->
max
-=
x
;
this
->
max
-=
x
;
if
(
this
->
opt
!=
0
)
if
(
this
->
opt
!=
0
)
{
{
assert
(
this
->
opt
>=
y
);
assert
(
this
->
opt
>=
x
);
this
->
opt
-=
x
;
this
->
opt
-=
x
;
}
}
return
*
this
;
return
*
this
;
...
...
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