diff --git a/src/changes/changes.xml b/src/changes/changes.xml index ac1bb9044..aeb943999 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -55,6 +55,9 @@ This is a minor release: It combines bug fixes and new features. Changes to existing features were made in a backwards-compatible way such as to allow drop-in replacement of the v3.1[.1] JAR file. "> + + Fixed loading of test file when path contains a space. + Improved speed of FastMath.abs methods for all signatures, by removing branching. diff --git a/src/test/java/org/apache/commons/math3/random/EmpiricalDistributionTest.java b/src/test/java/org/apache/commons/math3/random/EmpiricalDistributionTest.java index 184f8d768..766a92d16 100644 --- a/src/test/java/org/apache/commons/math3/random/EmpiricalDistributionTest.java +++ b/src/test/java/org/apache/commons/math3/random/EmpiricalDistributionTest.java @@ -98,7 +98,7 @@ public final class EmpiricalDistributionTest extends RealDistributionAbstractTes checkDistribution(); // Load again from a file (also verifies idempotency of load) - File file = new File(url.getFile()); + File file = new File(url.toURI()); empiricalDistribution.load(file); checkDistribution(); }