diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-12-06 10:41:03 +0200 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-12-06 10:41:03 +0200 |
commit | caa9249217c5fd524b900add5ddcbeaa20cbcb12 (patch) | |
tree | f72749a2c96e7fe1fed9b0444232e8bb015370cf /common/sampling.cpp | |
parent | da5eaef1f34d0a1f584cd4a092e7691ea46a9d91 (diff) |
common : fix compile warning
Diffstat (limited to 'common/sampling.cpp')
-rw-r--r-- | common/sampling.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/sampling.cpp b/common/sampling.cpp index b6bb886c..f4e76df3 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -113,13 +113,15 @@ std::string llama_sampling_order_print(const llama_sampling_params & params) { default : break; } } - } else result += "-> mirostat "; + } else { + result += "-> mirostat "; + } return result; } // no reasons to expose this function in header -void sampler_queue( +static void sampler_queue( struct llama_context * ctx_main, const llama_sampling_params & params, llama_token_data_array & cur_p, |