Repository: commons-math Updated Branches: refs/heads/master c965f1c7f -> 583d9ec86
MATH-1416: Depend on "Commons Numbers". Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/0f25f11c Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/0f25f11c Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/0f25f11c Branch: refs/heads/master Commit: 0f25f11ce63fe6d6096a13bb2ac00b8c3f98ef62 Parents: c965f1c Author: Gilles <er...@apache.org> Authored: Wed Feb 28 02:07:37 2018 +0100 Committer: Gilles <er...@apache.org> Committed: Wed Feb 28 02:07:37 2018 +0100 ---------------------------------------------------------------------- pom.xml | 6 ++++++ .../org/apache/commons/math4/linear/EigenDecomposition.java | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/0f25f11c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 1b9b97f..2e6bae8 100644 --- a/pom.xml +++ b/pom.xml @@ -379,6 +379,12 @@ <dependency> <groupId>org.apache.commons</groupId> + <artifactId>commons-numbers-complex</artifactId> + <version>1.0-SNAPSHOT</version> + </dependency> + + <dependency> + <groupId>org.apache.commons</groupId> <artifactId>commons-numbers-gamma</artifactId> <version>1.0-SNAPSHOT</version> </dependency> http://git-wip-us.apache.org/repos/asf/commons-math/blob/0f25f11c/src/main/java/org/apache/commons/math4/linear/EigenDecomposition.java ---------------------------------------------------------------------- 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 75e9614..53cbf8a 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.