diff --git a/src/main.cpp b/src/main.cpp index 5525cd3f..b2c06004 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -105,7 +105,7 @@ InputBuffer get_input_buffer(const CommandLineOptions& opt) { } } -void output_abundance(const std::vector abundances, const References references){ +void output_abundance(const std::vector& 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; }