Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/vmaware.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4726,7 +4726,6 @@ struct VM {
// median gap via nth_element
std::vector<u64> gaps_copy = gaps;
const size_t mid_idx = gaps_copy.size() / 2;
// Fix C4365: cast to ptrdiff_t for iterator arithmetic
std::nth_element(gaps_copy.begin(), gaps_copy.begin() + static_cast<std::ptrdiff_t>(mid_idx), gaps_copy.end());
const u64 median_gap = gaps_copy[mid_idx];

Expand Down
Loading