diff options
author | Cebtenzzre <cebtenzzre@gmail.com> | 2023-09-07 13:22:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 13:22:29 -0400 |
commit | 00d62adb79bf914a95fb9a2e8f42f3029e76d62c (patch) | |
tree | 36d294e4df3ded0cd0f3c96ab7bd64dd800002ec /examples/gptneox-wip | |
parent | 4fa2cc1750b861880de42515cb19c13b2d776ee2 (diff) |
fix some warnings from gcc and clang-tidy (#3038)
Co-authored-by: xaedes <xaedes@gmail.com>
Diffstat (limited to 'examples/gptneox-wip')
-rw-r--r-- | examples/gptneox-wip/falcon-main.cpp | 2 | ||||
-rw-r--r-- | examples/gptneox-wip/gptneox-main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/gptneox-wip/falcon-main.cpp b/examples/gptneox-wip/falcon-main.cpp index d4b130b2..7f9a1620 100644 --- a/examples/gptneox-wip/falcon-main.cpp +++ b/examples/gptneox-wip/falcon-main.cpp @@ -953,7 +953,7 @@ int main(int argc, char ** argv) { gpt_params params; - if (gpt_params_parse(argc, argv, params) == false) { + if (!gpt_params_parse(argc, argv, params)) { return 1; } diff --git a/examples/gptneox-wip/gptneox-main.cpp b/examples/gptneox-wip/gptneox-main.cpp index b6cc46c5..55eba0cd 100644 --- a/examples/gptneox-wip/gptneox-main.cpp +++ b/examples/gptneox-wip/gptneox-main.cpp @@ -925,7 +925,7 @@ int main(int argc, char ** argv) { gpt_params params; - if (gpt_params_parse(argc, argv, params) == false) { + if (!gpt_params_parse(argc, argv, params)) { return 1; } |