common : fix compile warning

This commit is contained in:
Georgi Gerganov 2023-12-06 10:41:03 +02:00
parent da5eaef1f3
commit caa9249217
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -113,13 +113,15 @@ std::string llama_sampling_order_print(const llama_sampling_params & params) {
default : break; default : break;
} }
} }
} else result += "-> mirostat "; } else {
result += "-> mirostat ";
}
return result; return result;
} }
// no reasons to expose this function in header // no reasons to expose this function in header
void sampler_queue( static void sampler_queue(
struct llama_context * ctx_main, struct llama_context * ctx_main,
const llama_sampling_params & params, const llama_sampling_params & params,
llama_token_data_array & cur_p, llama_token_data_array & cur_p,