You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following new test, introduced in 3c1205c, fails on architectures where char is unsigned by default (e.g. ARM, POWER). test_mpileup($opts,in=>[qw(indel-AD.1)],out=>'mpileup/indel-AD.1.out',ref=>'indel-AD.1.fa',args=>q[-a AD]);
@pd3 thanks for the pointer. I was able to dig a bit further and found the problem lies here: https://github.com/samtools/htslib/blob/develop/errmod.c#L90 sum1 / sum tends towards 0/0 and beta[k] is set to NaN at least for the first 13 values of k when n=104 and q=37 (which triggers the differing test output above).
It seems to be purely coincidence that this fails on the same architectures where char is unsigned.
The following new test, introduced in 3c1205c, fails on architectures where char is unsigned by default (e.g. ARM, POWER).
test_mpileup($opts,in=>[qw(indel-AD.1)],out=>'mpileup/indel-AD.1.out',ref=>'indel-AD.1.fa',args=>q[-a AD]);
Diff of the output below:
Any suggestions where I should be looking for the cause of the differing output, please?
The text was updated successfully, but these errors were encountered: