Skip to content

Commit

Permalink
rename functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jowong04 authored and jwcodee committed Jun 16, 2022
1 parent 87fecfd commit 277654b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion goldrush_path/MIBFConstructSupport.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class MIBFConstructSupport
return miBF;
}

void resetBF()
void reset_counts()
{
memset(&m_counts[0], 0, m_counts.size() * sizeof m_counts[0]);
}
Expand Down
2 changes: 1 addition & 1 deletion goldrush_path/MIBloomFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ class MIBloomFilter
return satProp;
}

void resetBF() {
void reset_ID_vector() {
memset(&m_data[0], 0, m_data.size() * sizeof m_data[0]);
}

Expand Down
4 changes: 2 additions & 2 deletions goldrush_path/goldrush_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ silver_path_check(
exit(0);
}
inserted_bases = 0;
miBFCS.resetBF();
mibf_vec[0]->resetBF();
miBFCS.reset_counts();
mibf_vec[0]->reset_ID_vector();
golden_path_vec.pop_back();
golden_path_vec.emplace_back(std::ofstream(
opt::prefix_file + "_" + std::to_string(curr_path) + ".fq"));
Expand Down

0 comments on commit 277654b

Please sign in to comment.