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
60fd7a8f
Commit
60fd7a8f
authored
Oct 18, 2022
by
Ted Themistokleous
Browse files
Replace || operator with or to pass cppcheck
parent
7f97b8ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/instruction.cpp
src/instruction.cpp
+1
-1
No files found.
src/instruction.cpp
View file @
60fd7a8f
...
@@ -118,7 +118,7 @@ bool instruction::valid() const
...
@@ -118,7 +118,7 @@ bool instruction::valid() const
{
{
computed
=
lit
.
get_shape
();
computed
=
lit
.
get_shape
();
}
}
else
if
(
op
.
name
()
==
"@param"
||
op
.
name
()
==
"@divzero"
)
else
if
(
op
.
name
()
==
"@param"
or
op
.
name
()
==
"@divzero"
)
{
{
computed
=
result
;
computed
=
result
;
}
}
...
...
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