Merge pull request #607 from broadinstitute/mm_bugfix_raise_mathutils_n_ceiling

Support more samples in math utilities.
This commit is contained in:
Ryan Poplin 2014-04-17 13:32:34 -04:00
commit a9a48f2459
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class MathUtils {
private static final double JACOBIAN_LOG_TABLE_INV_STEP = 1.0 / JACOBIAN_LOG_TABLE_STEP;
private static final double MAX_JACOBIAN_TOLERANCE = 8.0;
private static final int JACOBIAN_LOG_TABLE_SIZE = (int) (MAX_JACOBIAN_TOLERANCE / JACOBIAN_LOG_TABLE_STEP) + 1;
private static final int MAXN = 70_000;
private static final int MAXN = 100_000;
private static final int LOG10_CACHE_SIZE = 4 * MAXN; // we need to be able to go up to 2*(2N) when calculating some of the coefficients
/**