Skip to content

Commit

Permalink
Merge pull request #1473 from kuzudb/macos-compile-fix
Browse files Browse the repository at this point in the history
Fix macOS compilation issue
  • Loading branch information
mewim committed Apr 19, 2023
2 parents 8a8c8c9 + b26c2ae commit a5e9793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processor/operator/shortestpath/scan_bfs_level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BFSLevelMorsel SSSPMorsel::getBFSLevelMorsel() {
return BFSLevelMorsel(bfsMorselNextStartIdx, 0 /* bfsLevelMorsel size */);
}
auto bfsLevelMorselSize = std::min(
DEFAULT_VECTOR_CAPACITY, curBFSLevel->bfsLevelNodes.size() - bfsMorselNextStartIdx);
(size_t)DEFAULT_VECTOR_CAPACITY, curBFSLevel->bfsLevelNodes.size() - bfsMorselNextStartIdx);
bfsMorselNextStartIdx += bfsLevelMorselSize;
return BFSLevelMorsel(bfsMorselNextStartIdx - bfsLevelMorselSize, bfsLevelMorselSize);
}
Expand Down

0 comments on commit a5e9793

Please sign in to comment.