You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2021/05/31 23:41:31 UTC

[commons-math] branch master updated (e85e8b5 -> a5e0b2e)

This is an automated email from the ASF dual-hosted git repository.

erans pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git.


    from e85e8b5  Create module "commons-math-legacy-core" for holding functionality needed by many "legacy" modules.
     new c3ec073  Additional test passes.
     new a5e0b2e  Reference new modules.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../core/ExtendedFieldElementAbstractTest.java     | 14 ++++----
 .../field/ExtendedFieldElementAbstractTest.java    | 14 ++++----
 dist-archive/pom.xml                               | 38 ++++++++++++++++++++++
 3 files changed, 50 insertions(+), 16 deletions(-)

[commons-math] 02/02: Reference new modules.

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit a5e0b2e7f68c9fdedb70161f748a88b38a309034
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 01:40:34 2021 +0200

    Reference new modules.
---
 dist-archive/pom.xml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index 08d47b7..6c22a6b 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -138,6 +138,44 @@ under the License.
           <classifier>javadoc</classifier>
         </dependency>
 
+        <!-- Module: Exception (legacy) -->
+        <dependency>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-math-legacy-exception</artifactId>
+          <version>${project.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-math-legacy-exception</artifactId>
+          <version>${project.version}</version>
+          <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-math-legacy-exception</artifactId>
+          <version>${project.version}</version>
+          <classifier>javadoc</classifier>
+        </dependency>
+
+        <!-- Module: Core (legacy) -->
+        <dependency>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-math-legacy-core</artifactId>
+          <version>${project.version}</version>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-math-legacy-core</artifactId>
+          <version>${project.version}</version>
+          <classifier>sources</classifier>
+        </dependency>
+        <dependency>
+          <groupId>org.apache.commons</groupId>
+          <artifactId>commons-math-legacy-core</artifactId>
+          <version>${project.version}</version>
+          <classifier>javadoc</classifier>
+        </dependency>
+
       </dependencies>
 
       <build>

[commons-math] 01/02: Additional test passes.

Posted by er...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git

commit c3ec07380f82c868dd015cf83f3ee2575c6fcd51
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Tue Jun 1 01:25:15 2021 +0200

    Additional test passes.
---
 .../legacy/core/ExtendedFieldElementAbstractTest.java      | 14 ++++++--------
 .../legacy/field/ExtendedFieldElementAbstractTest.java     | 14 ++++++--------
 2 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java
index 7f5087c..ec34fcb 100644
--- a/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java
+++ b/commons-math-legacy-core/src/test/java/org/apache/commons/math4/legacy/core/ExtendedFieldElementAbstractTest.java
@@ -313,14 +313,12 @@ public abstract class ExtendedFieldElementAbstractTest<T extends RealFieldElemen
         }
     }
 
-//  TODO: add this test in 4.0, as it is not possible to do it in 3.2
-//  due to incompatibility of the return type in the Dfp class
-//    @Test
-//    public void testLog10() {
-//        for (double x = -0.9; x < 0.9; x += 0.05) {
-//            checkRelative(AccurateMath.log10(x), build(x).log10());
-//        }
-//    }
+    @Test
+    public void testLog10() {
+        for (double x = -0.9; x < 0.9; x += 0.05) {
+            checkRelative(AccurateMath.log10(x), build(x).log10());
+        }
+    }
 
     @Test
     public void testAbs() {
diff --git a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java
index a1b2670..81a1e60 100644
--- a/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java
+++ b/commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/field/ExtendedFieldElementAbstractTest.java
@@ -315,14 +315,12 @@ public abstract class ExtendedFieldElementAbstractTest<T extends RealFieldElemen
         }
     }
 
-//  TODO: add this test in 4.0, as it is not possible to do it in 3.2
-//  due to incompatibility of the return type in the Dfp class
-//    @Test
-//    public void testLog10() {
-//        for (double x = -0.9; x < 0.9; x += 0.05) {
-//            checkRelative(AccurateMath.log10(x), build(x).log10());
-//        }
-//    }
+    @Test
+    public void testLog10() {
+        for (double x = -0.9; x < 0.9; x += 0.05) {
+            checkRelative(AccurateMath.log10(x), build(x).log10());
+        }
+    }
 
     @Test
     public void testAbs() {