remove unneccessary parameter in bootstrapping function

This commit is contained in:
Daniel Bauer
2020-09-15 15:32:05 +02:00
parent 465f46b280
commit 7b39d603bd
2 changed files with 2 additions and 2 deletions

View File

@@ -189,7 +189,7 @@ pub fn run(cfg: &Config) -> Result<()>{
let (P_std, free_energy_std) = if cfg.bootstrap > 0 {
println!("Bootstrapping..");
error_analysis::run_bootstrap(&cfg, dataset.clone(), &P, cfg.bootstrap)
error_analysis::run_bootstrap(&cfg, dataset.clone(), cfg.bootstrap)
} else {
(vec![0.0; P.len()], vec![0.0; P.len()])
};