Skip to content
Snippets Groups Projects
Commit ae9a2fbb authored by Salson Mikael's avatar Salson Mikael
Browse files

Save: add . for the extension

parent 4df13b16
No related branches found
No related tags found
No related merge requests found
...@@ -132,12 +132,12 @@ size_t Coverind<bv>::size_in_bytes() const { ...@@ -132,12 +132,12 @@ size_t Coverind<bv>::size_in_bytes() const {
template <class bv> template <class bv>
void Coverind<bv>::save(const std::string filename) const { void Coverind<bv>::save(const std::string filename) const {
store_to_file(start, filename + "start.bv"); store_to_file(start, filename + std::string(".start.bv"));
store_to_file(end, filename + "end.bv"); store_to_file(end, filename + std::string(".end.bv"));
store_to_file(rank_start, filename + "start.rank"); store_to_file(rank_start, filename + std::string(".start.rank"));
store_to_file(rank_end, filename + "end.rank"); store_to_file(rank_end, filename + std::string(".end.rank"));
store_to_file(select_start, filename + "start.select"); store_to_file(select_start, filename + std::string(".start.select"));
store_to_file(select_end, filename + "end.select"); store_to_file(select_end, filename + std::string(".end.select"));
} }
bit_vector create_bitvector_from_file(const std::string filename) { bit_vector create_bitvector_from_file(const std::string filename) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment