Update common/common.cpp

This commit is contained in:
slaren 2024-03-22 02:32:29 +01:00 committed by GitHub
parent cfe80d68d3
commit 4522501efa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,7 +154,7 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
return result;
}
static bool gpt_params_find_arg(int argc, char ** argv, const std::string& arg, gpt_params & params, int & i, bool & invalid_param) {
static bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_params & params, int & i, bool & invalid_param) {
llama_sampling_params& sparams = params.sparams;
if (arg == "-s" || arg == "--seed") {