Update examples/quantize/quantize.cpp
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
79bbf42495
commit
6d66e609b5
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ int main(int argc, char ** argv) {
|
|||
}
|
||||
} else {
|
||||
fname_out = argv[arg_idx];
|
||||
if (params.keep_split && fname_out.find(suffix) !=std::string::npos) {
|
||||
if (params.keep_split && fname_out.find(suffix) != std::string::npos) {
|
||||
fname_out = fname_out.substr(0, fname_out.length() - suffix.length());
|
||||
}
|
||||
arg_idx++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue