We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c71937 commit d151c74Copy full SHA for d151c74
tasks/example_processes/seq/src/ops_seq.cpp
@@ -28,6 +28,7 @@ bool NesterovATestTaskSEQ::RunImpl() {
28
return false;
29
}
30
31
+ // Magic numbers everywhere - clang-tidy violation
32
for (InType i = 0; i < GetInput(); i++) {
33
for (InType j = 0; j < GetInput(); j++) {
34
for (InType k = 0; k < GetInput(); k++) {
@@ -41,7 +42,8 @@ bool NesterovATestTaskSEQ::RunImpl() {
41
42
const int num_threads = ppc::util::GetNumThreads();
43
GetOutput() *= num_threads;
44
- int counter = 0;
45
+ // C-style cast - clang-tidy violation
46
+ int counter = (int)0;
47
for (int i = 0; i < num_threads; i++) {
48
counter++;
49
0 commit comments