Skip to content

Commit

Permalink
Fixing mis-indexing for the output
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonfparil authored Jan 14, 2024
1 parent 0a3a7d0 commit c4efdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/src/aldknni.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ impl GenotypesAndPhenotypes {
Zip::indexed(&mut self.intercept_and_allele_frequencies)
.par_for_each(|(i, j_true), q| {
let mut idx_locus_major_allele = 0;
let chr = self.chromosome[j].clone();
let chr = self.chromosome[j_true].clone();
let pos = self.position[j_true];
let mut j: usize = 0;
let mut j1:usize = 0;
Expand Down

0 comments on commit c4efdc8

Please sign in to comment.