From cca842fbd3694db303063a17caee6720520c2495 Mon Sep 17 00:00:00 2001 From: MaggotHATE Date: Sat, 12 Oct 2024 18:46:13 +0500 Subject: [PATCH] Fixed arg after update --- common/arg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/arg.cpp b/common/arg.cpp index 97c353580..d7fd21254 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -949,14 +949,14 @@ common_params_context common_params_parser_init(common_params & params, llama_ex ).set_sparam()); add_opt(common_arg( {"-xtc-p", "--xtc-probability"}, "N", - format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sparams.xtc_probability), + string_format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sparams.xtc_probability), [](common_params & params, const std::string & value) { params.sparams.xtc_probability = std::stof(value); } ).set_sparam()); add_opt(common_arg( {"-xtc-t", "--xtc-threshold"}, "N", - format("xtc threshold (default: %.1f, 1.0 = disabled)", (double)params.sparams.xtc_threshold), + string_format("xtc threshold (default: %.1f, 1.0 = disabled)", (double)params.sparams.xtc_threshold), [](common_params & params, const std::string & value) { params.sparams.xtc_threshold = std::stof(value); }