Skip to content

Commit

Permalink
removing unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hiraksarkar committed Aug 4, 2020
1 parent 1bf240c commit d821f7d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libradicl/src/em.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ pub fn run_bootstrap(
eqclasses: &HashMap<Vec<u32>, u32, fasthash::RandomState<Hash64>>,
num_bootstraps : u32,
gene_alpha : & Vec<f32>,
unique_evidence: &mut Vec<bool>,
no_ambiguity: &mut Vec<bool>,
num_alphas: usize,
only_unique: bool,
// unique_evidence: &mut Vec<bool>,
// no_ambiguity: &mut Vec<bool>,
// num_alphas: usize,
// only_unique: bool,
init_uniform: bool,
_log: &slog::Logger,
) -> Vec<Vec<f32>> {
Expand All @@ -156,8 +156,8 @@ pub fn run_bootstrap(

let mut alphas: Vec<f32> = vec![0.0; gene_alpha.len()];
let mut alphas_prime: Vec<f32> = vec![0.0; gene_alpha.len()];
let mut means: Vec<f32> = vec![0.0; gene_alpha.len()];
let mut square_means: Vec<f32> = vec![0.0; gene_alpha.len()];
// let mut means: Vec<f32> = vec![0.0; gene_alpha.len()];
// let mut square_means: Vec<f32> = vec![0.0; gene_alpha.len()];

// make discrete distribution of the eqclass counts
// hash map to serialize the eqclasses
Expand Down

0 comments on commit d821f7d

Please sign in to comment.