Skip to content

Commit cca842f

Browse files
committed
Fixed arg after update
1 parent ea85a51 commit cca842f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/arg.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,14 +949,14 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
949949
).set_sparam());
950950
add_opt(common_arg(
951951
{"-xtc-p", "--xtc-probability"}, "N",
952-
format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sparams.xtc_probability),
952+
string_format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sparams.xtc_probability),
953953
[](common_params & params, const std::string & value) {
954954
params.sparams.xtc_probability = std::stof(value);
955955
}
956956
).set_sparam());
957957
add_opt(common_arg(
958958
{"-xtc-t", "--xtc-threshold"}, "N",
959-
format("xtc threshold (default: %.1f, 1.0 = disabled)", (double)params.sparams.xtc_threshold),
959+
string_format("xtc threshold (default: %.1f, 1.0 = disabled)", (double)params.sparams.xtc_threshold),
960960
[](common_params & params, const std::string & value) {
961961
params.sparams.xtc_threshold = std::stof(value);
962962
}

0 commit comments

Comments
 (0)