Skip to content

Commit

Permalink
Merge branch 'improve_perf_message' of github.com:ROCm/AMDMIGraphX in…
Browse files Browse the repository at this point in the history
…to improve_perf_message
  • Loading branch information
richagadgil committed Oct 8, 2024
2 parents 70915be + 34bbd13 commit 7b053e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ double median(const std::vector<double>& v)

double percentile(const std::vector<double>& v, double percentile)
{
size_t index = static_cast<size_t>((percentile) * (v.size() - 1));
size_t index = (percentile * (v.size() - 1));
return v[index];
}

Expand Down

0 comments on commit 7b053e2

Please sign in to comment.