From 0f25f11ce63fe6d6096a13bb2ac00b8c3f98ef62 Mon Sep 17 00:00:00 2001 From: Gilles Date: Wed, 28 Feb 2018 02:07:37 +0100 Subject: [PATCH] MATH-1416: Depend on "Commons Numbers". --- pom.xml | 6 ++++++ .../org/apache/commons/math4/linear/EigenDecomposition.java | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1b9b97f2c..2e6bae839 100644 --- a/pom.xml +++ b/pom.xml @@ -377,6 +377,12 @@ 1.0-SNAPSHOT + + org.apache.commons + commons-numbers-complex + 1.0-SNAPSHOT + + org.apache.commons commons-numbers-gamma diff --git a/src/main/java/org/apache/commons/math4/linear/EigenDecomposition.java b/src/main/java/org/apache/commons/math4/linear/EigenDecomposition.java index 75e9614e3..53cbf8aaf 100644 --- a/src/main/java/org/apache/commons/math4/linear/EigenDecomposition.java +++ b/src/main/java/org/apache/commons/math4/linear/EigenDecomposition.java @@ -17,14 +17,14 @@ package org.apache.commons.math4.linear; -import org.apache.commons.math4.complex.Complex; +import org.apache.commons.numbers.complex.Complex; +import org.apache.commons.numbers.core.Precision; import org.apache.commons.math4.exception.DimensionMismatchException; import org.apache.commons.math4.exception.MathArithmeticException; import org.apache.commons.math4.exception.MathUnsupportedOperationException; import org.apache.commons.math4.exception.MaxCountExceededException; import org.apache.commons.math4.exception.util.LocalizedFormats; import org.apache.commons.math4.util.FastMath; -import org.apache.commons.numbers.core.Precision; /** * Calculates the eigen decomposition of a real matrix.