Merge branch 'master' of ssh://nickel.broadinstitute.org/humgen/gsa-scr1/gsa-engineering/git/unstable
This commit is contained in:
commit
315ac68b0b
|
|
@ -619,10 +619,10 @@ public class PairHMMIndelErrorModel {
|
|||
return 0; // sanity check
|
||||
|
||||
for (int i=0; i < b1.length; i++ ){
|
||||
if ( b1[i]!= b2[i])
|
||||
if ( b1[i]!= b2[i] )
|
||||
return i;
|
||||
}
|
||||
return 0; // sanity check
|
||||
return b1.length;
|
||||
}
|
||||
|
||||
private int computeFirstDifferingPosition(double[] b1, double[] b2) {
|
||||
|
|
@ -630,10 +630,10 @@ public class PairHMMIndelErrorModel {
|
|||
return 0; // sanity check
|
||||
|
||||
for (int i=0; i < b1.length; i++ ){
|
||||
if ( b1[i]!= b2[i])
|
||||
if ( MathUtils.compareDoubles(b1[i], b2[i]) != 0 )
|
||||
return i;
|
||||
}
|
||||
return 0; // sanity check
|
||||
return b1.length;
|
||||
}
|
||||
|
||||
private final static double[] getHaplotypeLikelihoods(final int numHaplotypes, final int readCounts[], final double readLikelihoods[][]) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue