File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -439,14 +439,14 @@ static std::string gen_chatcmplid() {
439439// other common utils
440440//
441441
442- static size_t longest_common_prefix (const std::vector<llama_token> & a, const std::vector<llama_token> & b) {
442+ static size_t longest_common_prefix (const llama_tokens & a, const llama_tokens & b) {
443443 size_t i;
444444 for (i = 0 ; i < a.size () && i < b.size () && a[i] == b[i]; i++) {}
445445
446446 return i;
447447}
448448
449- static size_t longest_common_subsequence (const std::vector<llama_token> & a, const std::vector<llama_token> & b) {
449+ static size_t longest_common_subsequence (const llama_tokens & a, const llama_tokens & b) {
450450 // check for empty sequences
451451 if (a.empty () || b.empty ()) {
452452 return 0 ;
You can’t perform that action at this time.
0 commit comments