Commit Graph

6872 Commits

Author SHA1 Message Date
Arturo Bernal e29fd60238 MATH-1571 - Collections Performance 2021-04-13 10:44:13 +02:00
Arturo Bernal 26511237d2 Remove redundant initializers.
Closes #172.
2021-04-12 11:05:25 +02:00
Gary Gregory 0300f97d74 Normalize to US English spelling.
Typos.
2021-02-08 14:15:16 -05:00
Gary Gregory d71b8c93d2 Use isEmpty().
Don't nest else clauses needlessly.
2021-01-17 09:30:17 -05:00
Gary Gregory 57a9a5c14b Use isEmpty(). 2021-01-17 09:15:16 -05:00
Gary Gregory b7dd3fd3d1 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-math.git 2021-01-16 21:37:13 -05:00
Gary Gregory 8f949ae86a Use isEmpty(). 2021-01-16 21:37:02 -05:00
Milos Gligoric fb68dfd3e8 Shutdown execution services once the results are taken.
Closes #170.
2021-01-10 01:55:49 +01:00
Gilles Sadowski 90efa03f5f Nit (ordering convention for "import" statements).
Closes #168.
2020-12-22 13:13:20 +01:00
abchaubey ed886b8ef5 MATH-1566: Fix CheckStyle Issues 2020-12-22 12:22:15 +01:00
Gilles Sadowski a2c3868fb8 MATH-1565: Add unit tests.
Thanks to Randy Strauss.
2020-12-11 19:35:02 +01:00
Gilles Sadowski 323f6d7153 MATH-1565: Add context to "OutOfRangeException" so as to produce a complete message. 2020-12-11 18:34:42 +01:00
Dmitry Dontsov 649b134f17
Update EnumeratedDistribution.java (#166)
Fix typo in description
2020-11-20 15:24:35 +00:00
Gilles Sadowski a33cc0b142 Usage of factory method is recommended.
Thanks to "ranjan1423".

Closes #165.
2020-11-16 14:42:13 +01:00
Gilles Sadowski 2da7454c57 MATH-1562: Add "Automatic-Module-Name" entry to JAR manifest file. 2020-11-11 16:11:44 +01:00
Gilles Sadowski c1801e6776 File indentation nit. 2020-11-11 15:26:14 +01:00
Gilles Sadowski d9715f64ab Remove useless "throws" clauses. 2020-11-10 14:26:01 +01:00
Gilles Sadowski 1bc542778b Nit-pick (unit test). 2020-10-28 17:47:24 +01:00
Xin Tong 9a84109c7e Fix flaky testGetAvailableLocales 2020-10-28 17:42:47 +01:00
Gilles Sadowski bb02fad3e3 Avoid redundant computations. 2020-10-28 03:21:33 +01:00
Gilles Sadowski 43b77ffabb Merge branch 'fix__MATH-1558'
Closes #161.
2020-10-21 02:31:43 +02:00
Gilles Sadowski 0fe8ef6f9e Track changes. 2020-10-21 02:29:28 +02:00
Gilles Sadowski 053154b621 Replaced non-ASCII character in comment. 2020-10-21 01:40:38 +02:00
Sam Ritchie e0b2efc2ac MATH-1558: Fix MidPointIntegrator incremental implementation 2020-10-20 16:24:29 -06:00
Alex Herbert 0b3629b4b0
Merge pull request #159 from nhojpatrick/junit-4.13.1
JUnit v4.13.1
2020-10-11 23:20:03 +01:00
John Patrick e3355741ed JUnit v4.13.1 2020-10-11 19:37:27 +01:00
Gilles Sadowski 27f289f6be MATH-1555: Fix documentation issue. 2020-10-08 16:48:34 +02:00
Alex Herbert 84ca159267
Merge pull request #158 from mureinik/imports
Code cleanup: Remove unused imports

This removes from test classes imports that are in the same package.
2020-10-01 12:37:13 +01:00
Allon Mureinik 2d14b517c3 Code cleanup: Remove unused imports
Remove unused imports which contribute nothing to the code, and just
take up screen real estate.
2020-09-30 23:48:42 +03:00
Gilles Sadowski 450dadfd59 Avoid redundant array accesses (unit tests). 2020-08-10 20:17:06 +02:00
Gilles Sadowski e99434d937 MATH-1551: Track changes.
Closes #157.
2020-07-31 00:05:10 +02:00
Gilles Sadowski 94476b91ce Decrease visibility. 2020-07-30 23:42:33 +02:00
Gilles Sadowski 22572574d4 Reduce code duplication. 2020-07-30 23:31:27 +02:00
Gilles Sadowski 802058f4ee Remove spurious "throws" clauses, and other nits. 2020-07-30 22:50:07 +02:00
r08922129 fe29577cdb MATH-1551: Add Weighted percentile features 2020-07-31 00:23:18 +08:00
Gilles Sadowski 90ea1c9218 Add "<defaultGoal>" in order to have CheckStyle run by Travis.
Move CheckStyle configuration files.
2020-07-29 20:18:41 +02:00
Gilles Sadowski b1c0b4db51 MATH-1554: Remove package "o.a.c.math4.geometry". 2020-07-29 01:08:43 +02:00
Gilles Sadowski 0e3b77d76c Nit (unit test). 2020-07-29 00:02:59 +02:00
Gilles Sadowski 3d2b2107b5 Add unit tests.
Failing tests are disabled.
2020-07-28 23:23:24 +02:00
Gilles Sadowski 2470c3ff28 Factor out utilities that are useful for other unit test classes too. 2020-07-28 13:50:22 +02:00
Gilles Sadowski d0ed03c953 Use "final" (and other nits). 2020-07-21 19:52:04 +02:00
Gilles Sadowski 11b0e96cf4 Constant is an implementation detail. 2020-07-21 19:34:44 +02:00
Mohammad Rezaei 9e24ff70a7 Use static final int for IEEE exponent shift constant.
Closes #156.
2020-07-21 19:15:10 +02:00
Gilles Sadowski 3ed7faba1b Unused "import" statement. 2020-07-21 15:51:19 +02:00
Gilles Sadowski 321c689ceb Checkstyle.
Closes #155.
2020-07-21 15:50:52 +02:00
Gilles Sadowski e9389912d5 Javadoc. 2020-07-21 12:18:20 +02:00
Gilles Sadowski 91207d4c6d Track changes. 2020-07-21 12:18:07 +02:00
Mohammad Rezaei d23485fb15 Scale constants before running simplex algorithm. Fixes MATH-1549. 2020-07-20 15:49:42 -04:00
Mohammad Rezaei 84890c9409 Standardize constants before running simplex algorithm. Fixes MATH-1549. 2020-07-16 20:48:36 -04:00
Gilles Sadowski 4108f5f35e MATH-1549: Added unit test based on the demo code provided on the report page.
Unit test is set to "@Ignore" as the issue is still present.
2020-07-14 14:41:42 +02:00