Skip to content

Commit

Permalink
prefer reference
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic-mahe committed Feb 4, 2025
1 parent 241e6a1 commit 5d8cd97
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/fastq_stats.cc
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,12 @@ auto fastq_stats(struct Parameters const & parameters) -> void

for (auto i = 2UL; i <= len_max; i++)
{
auto const & distribution = distributions[i - 1];
auto const PctRecs = 100.0 * (seq_count - length_dist[i - 1]) / seq_count;
auto const AvgQ = distributions[i - 1].avgq;
auto const AvgP = distributions[i - 1].avgp;
auto const AvgEE = distributions[i - 1].avgee;
auto const Rate = distributions[i - 1].rate;
auto const AvgQ = distribution.avgq;
auto const AvgP = distribution.avgp;
auto const AvgEE = distribution.avgee;
auto const Rate = distribution.rate;

std::fprintf(fp_log,
"%5" PRId64 " %6.1lf%% %4.1lf %7.5lf %8.6lf %5.2lf %9.6lf %7.3lf%%\n",
Expand Down

0 comments on commit 5d8cd97

Please sign in to comment.