Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ntedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ str_to_upper(const std::string& str)

/* Helper for filling out the LPS array for detecting a low complexity repeat. */
void
computeLPSArray(std::string possible_repeat, int n, std::vector<int>& lps)
computeLPSArray(const std::string& possible_repeat, int n, std::vector<int>& lps)
{
int len = 0;
int i;
Expand Down Expand Up @@ -810,7 +810,7 @@ makeDeletion(

/* Returns the character at pos based on the seqNode structure. */
unsigned char
getCharacter(unsigned& pos, seqNode node, const std::string& contigSeq)
getCharacter(unsigned& pos, const seqNode& node, const std::string& contigSeq)
{
if (node.node_type == 0) {
return contigSeq.at(pos);
Expand Down
2 changes: 1 addition & 1 deletion src/ntedit_make_genome_bf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const unsigned NUM_BITS_PER_BYTE = 8;
/*
Return the genome size of the given fasta file
*/
uint64_t find_genome_size(std::vector<std::string> genome_files, int threads) {
uint64_t find_genome_size(const std::vector<std::string>& genome_files, int threads) {
uint64_t genome_size = 0;
for (const auto& genome_file : genome_files) {
btllib::SeqReader reader(
Expand Down