diff --git a/src/java/org/apache/commons/math/linear/BigMatrixImpl.java b/src/java/org/apache/commons/math/linear/BigMatrixImpl.java index ccb9a9d14..a3457fbb9 100644 --- a/src/java/org/apache/commons/math/linear/BigMatrixImpl.java +++ b/src/java/org/apache/commons/math/linear/BigMatrixImpl.java @@ -73,7 +73,7 @@ public class BigMatrixImpl implements BigMatrix, Serializable { private int scale = 64; /** Bound to determine effective singularity in LU decomposition */ - protected static BigDecimal TOO_SMALL = new BigDecimal(10E-12); + private static final BigDecimal TOO_SMALL = new BigDecimal(10E-12); /** BigDecimal 0 */ static final BigDecimal ZERO = new BigDecimal(0); diff --git a/src/java/org/apache/commons/math/linear/RealMatrixImpl.java b/src/java/org/apache/commons/math/linear/RealMatrixImpl.java index 5a4cc3181..f8dcfc3f4 100644 --- a/src/java/org/apache/commons/math/linear/RealMatrixImpl.java +++ b/src/java/org/apache/commons/math/linear/RealMatrixImpl.java @@ -69,7 +69,7 @@ public class RealMatrixImpl implements RealMatrix, Serializable { private int parity = 1; /** Bound to determine effective singularity in LU decomposition */ - protected static double TOO_SMALL = 10E-12; + private static final double TOO_SMALL = 10E-12; /** * Creates a matrix with no data