Skip to content

Commit

Permalink
Update src/main.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Martin <[email protected]>
  • Loading branch information
psj1997 and marcelm authored Feb 26, 2024
1 parent 8c32350 commit 5a1ab9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ InputBuffer get_input_buffer(const CommandLineOptions& opt) {
}
}

void output_abundance(const std::vector<double> abundances, const References references){
void output_abundance(const std::vector<double>& abundances, const References& references){
for (size_t i = 0; i < references.size(); ++i) {
std::cout << references.names[i] << '\t' << std::fixed << std::setprecision(6) << abundances[i] / double(references.sequences[i].size()) << std::endl;
}
Expand Down

0 comments on commit 5a1ab9e

Please sign in to comment.