Skip to content

Commit

Permalink
[MISC] Remove data_store::false_positive_rate
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Sep 10, 2024
1 parent 485b22b commit 2e0456e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions include/hibf/layout/data_store.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ struct data_store
/*!\name References to global instances of the HIBF.
* \{
*/
//!\brief The desired maximum false positive rate of the resulting index.
double false_positive_rate{};

//!\brief The layout that is built by layout::hierarchical_binning.
layout * hibf_layout; // Will be modified by {simple,hierarchical}_binning.

Expand Down
3 changes: 1 addition & 2 deletions src/layout/hierarchical_binning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,7 @@ size_t hierarchical_binning::backtracking(std::vector<std::vector<std::pair<size

data_store hierarchical_binning::initialise_libf_data(size_t const trace_j) const
{
data_store libf_data{.false_positive_rate = data->false_positive_rate,
.hibf_layout = data->hibf_layout,
data_store libf_data{.hibf_layout = data->hibf_layout,
.kmer_counts = data->kmer_counts,
.sketches = data->sketches,
.positions = {data->positions[trace_j]},
Expand Down

0 comments on commit 2e0456e

Please sign in to comment.