Skip to content

Commit

Permalink
Fix for type of index on llvm compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlees committed Mar 26, 2024
1 parent adf033f commit c2a6abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pp_sketch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

'''PopPUNK sketching functions'''

__version__ = '2.1.3'
__version__ = '2.1.4'
2 changes: 1 addition & 1 deletion src/api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ sparse_coo query_db_sparse(std::vector<Reference> &ref_sketches,
}
// Add dist if it is in the smallest k
if (min_dists.size() < kNN || row_dist < min_dists.top().dist) {
SparseDist new_min = {row_dist, j};
SparseDist new_min = {row_dist, static_cast<long>(j)};
min_dists.push(new_min);
if (min_dists.size() > kNN) {
min_dists.pop();
Expand Down

0 comments on commit c2a6abc

Please sign in to comment.