Skip to content

Commit

Permalink
quantize-stats : fix bug in --type argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Apr 17, 2023
1 parent 69b7402 commit eb17a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/quantize-stats/quantize-stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ int main(int argc, char ** argv) {
break;
}
int j;
for (j = 0; j < GGML_TYPE_COUNT && strcmp(argv[i], ggml_type_name((ggml_type) i)) != 0; j++) {
for (j = 0; j < GGML_TYPE_COUNT && strcmp(argv[i], ggml_type_name((ggml_type) j)) != 0; j++) {
// find match
}
if (j < GGML_TYPE_COUNT) {
Expand Down

0 comments on commit eb17a02

Please sign in to comment.