Skip to content

Commit

Permalink
bytes_and_flops fix a small bug in command line argument
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricchevalier19 committed Mar 4, 2024
1 parent 2773390 commit 5c9a4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/bytes_and_flops/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ int main(int argc, char* argv[]) {
printf("D must be one of 1,2,4,8,16,32\n");
return 0;
}
if ((P < 1) && (P > 2)) {
if ((P < 1) || (P > 4)) {
printf("P must be one of 1,2,3,4\n");
return 0;
}
Expand Down

0 comments on commit 5c9a4aa

Please sign in to comment.