stop throwing an exception here: we don't always have allele counts

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@1259 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
ebanks 2009-07-15 20:34:01 +00:00
parent a245ee32fa
commit 692b1e206f
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ public final class HardyWeinbergCalculation {
//make sure numbers aren't screwy
if (hets > rare) {
throw new IllegalArgumentException("HW test: " + hets + " heterozygotes but only " +
rare + " rare alleles.");
return -1;
}
double[] tailProbs = new double[rare + 1];