File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -623,7 +623,8 @@ void LoadSamplesToRam(QuerySampleLibrary* qsl,
623623// / RAM at the same time.
624624// / \param qsl The query sample library.
625625// / \param settings The test settings.
626- // / \param total_sample_count The total number of samples to generate indices for.
626+ // / \param total_sample_count The total number of samples to generate indices
627+ // / for.
627628// / In accuracy mode, this should be accuracy_sample_count.
628629// / In performance mode, this should be performance_sample_count.
629630std::vector<LoadableSampleSet> GenerateLoadableSets (
@@ -637,7 +638,8 @@ std::vector<LoadableSampleSet> GenerateLoadableSets(
637638
638639 // Cap sample count to QSL's actual total to avoid out-of-range indices.
639640 const size_t qsl_total_count = qsl->TotalSampleCount ();
640- const size_t effective_sample_count = std::min (total_sample_count, qsl_total_count);
641+ const size_t effective_sample_count =
642+ std::min (total_sample_count, qsl_total_count);
641643
642644 // Generate indices for the specified sample count.
643645 std::vector<QuerySampleIndex> samples (effective_sample_count);
You can’t perform that action at this time.
0 commit comments