Skip to content

Fix histogram baseline #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025
Merged

Fix histogram baseline #44

merged 1 commit into from
May 8, 2025

Conversation

Dando18
Copy link
Member

@Dando18 Dando18 commented May 8, 2025

closes #38

@Dando18 Dando18 requested a review from Copilot May 8, 2025 17:58
@Dando18 Dando18 self-assigned this May 8, 2025
@Dando18 Dando18 added bug Something isn't working ready-for-review labels May 8, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes the histogram baseline by refining the bin calculation logic in the histogram benchmark code.

  • Updates the bin index calculation to use static_cast and clamps the bin value using std::min.
  • Ensures that the bin index does not exceed the bins array size.

@Dando18 Dando18 merged commit d979d5b into develop May 8, 2025
@Dando18 Dando18 deleted the fix-histogram-baseline branch May 8, 2025 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Definition : Histogram - histogram_bin_0-100
1 participant