Skip to content
Snippets Groups Projects
Commit b7653bed authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Refs #21130 Fix performance test

parent 2f46c4e6
No related branches found
No related tags found
No related merge requests found
......@@ -312,9 +312,9 @@ public:
void test_convert_counts_to_frequency_once_per_histogram_sparse() {
double total = 0;
for (size_t i = 0; i < nHists; i++) {
auto counts = m_hist.frequencies();
auto counts = m_hist.counts();
auto frequencies = m_hist.frequencies();
for (size_t j = 0; j < nHists; ++j)
for (size_t j = 0; j < histSize; ++j)
if (counts[j] > histSize - 5)
total += frequencies[j];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment