Skip to content

Commit

Permalink
bugfix of compile
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhaode committed Jan 17, 2024
1 parent 485e674 commit cc06bb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/llm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <iostream>
#include <fstream>
#include <sstream>
#include <regex>

#include <MNN/expr/ExecutorScope.hpp>
Expand Down Expand Up @@ -897,7 +898,7 @@ void TextVectorStore::bench() {
auto iptr = indices->readMap<int>();
auto end = std::chrono::high_resolution_clock::now();
auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
printf("# [%d, %d] search took %ld ms.\n", n, d, duration.count());
printf("# [%d, %d] search took %lld ms.\n", n, d, duration.count());
vectors_ = nullptr;
}

Expand Down

0 comments on commit cc06bb0

Please sign in to comment.