Update examples/main/main.cpp
This commit is contained in:
parent
c3c5aacef6
commit
004016e6d8
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ int main(int argc, char ** argv) {
|
|||
}
|
||||
|
||||
// Should not run without any tokens
|
||||
if (embd_inp.size()==0) {
|
||||
if (embd_inp.empty()) {
|
||||
embd_inp.push_back(llama_token_bos(ctx));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue