Skip to content

Commit

Permalink
trying to speed up the imputation algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonfparil committed Oct 30, 2023
1 parent 95c4722 commit 02046fe
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 207 deletions.
5 changes: 4 additions & 1 deletion src/base/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,10 @@ impl Filter for LocusCounts {
//// Next account for pool sizes to get the proper minmum allele frequency across all pools
let n = allele_frequencies.matrix.nrows();
let mut p = allele_frequencies.matrix.ncols();
assert!(n == filter_stats.pool_sizes.len(), "Please make that the number of pools and the pool sizes in FilterStats match.");
assert!(
n == filter_stats.pool_sizes.len(),
"Please make that the number of pools and the pool sizes in FilterStats match."
);
let mut q: f64;
let mut j: usize = 0;
while j < p {
Expand Down
Loading

0 comments on commit 02046fe

Please sign in to comment.