Merge pull request #175 from broadinstitute/eb_increase_log10_cache_size

Minor: bump up the amount of cached log10 data in MathUtils so that Monk...
This commit is contained in:
Eric Banks 2013-04-19 05:43:07 -07:00
commit 12ac60ac3a
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,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 = 50000;
private static final int MAXN = 70000;
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
/**