Skip to content

Commit

Permalink
a5.15
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchang committed Oct 7, 2024
1 parent 314df97 commit 8c16f53
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions 2.0/include/pgenlib_read.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6903,6 +6903,10 @@ PglErr ParseDosage16(const unsigned char* fread_ptr, const unsigned char* fread_
if (unlikely(ParseAndSaveDeltalistAsBitarr(fread_end, raw_sample_ct, &fread_ptr, raw_dosage_present, &raw_dosage_ct))) {
return kPglRetMalformedInput;
}
if ((!raw_dosage_ct) && (!dosage_ct_ptr)) {
// bugfix (7 Oct 2024)
ZeroWArr(raw_sample_ctl, raw_dosage_present);
}
} else if (is_unconditional_dosage) {
// case 2: unconditional dosage. handle separately from other two cases
// since missing values may be present.
Expand Down
4 changes: 2 additions & 2 deletions 2.0/plink2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ static const char ver_str[] = "PLINK v2.0.0-a.5.15"
#elif defined(USE_AOCL)
" AMD"
#endif
" (xx yyy 2024)";
" (7 Oct 2024)";
static const char ver_str2[] =
// include leading space if day < 10, so character length stays the same
""
" "

#ifdef NOLAPACK
#elif defined(LAPACK_ILP64)
Expand Down
2 changes: 2 additions & 0 deletions 2.0/plink2_export.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2704,6 +2704,8 @@ THREAD_FUNC_DECL ExportBgen13Thread(void* raw_arg) {
}
}
}
// bugfix (7 Oct 2024)
CopyToUnalignedW(bgen_geno_buf_iter, &cur_write_bits);
bgen_geno_buf_iter = &(bgen_geno_buf_iter[DivUp(cur_write_bit_idx, CHAR_BIT)]);
}
const uint32_t uncompressed_bytect = bgen_geno_buf_iter - uncompressed_bgen_geno_buf;
Expand Down

0 comments on commit 8c16f53

Please sign in to comment.