Support more samples in math utilities.

- Amend `MathUtils`' constants such that they support callings in excess of 70,000 samples (instead, 100,000).
This commit is contained in:
Mike 2014-04-14 12:05:38 -04:00
parent 4b140c9e48
commit f0732d386c
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
/**