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
The following commit(s) were added to refs/heads/master by this push:
new 27f289f MATH-1555: Fix documentation issue.
27f289f is described below
commit 27f289f6be1396893247f13225a52388f598a8d7
Author: Gilles Sadowski <[email protected]>
AuthorDate: Thu Oct 8 16:48:34 2020 +0200
MATH-1555: Fix documentation issue.
---
src/changes/changes.xml | 3 +++
src/main/java/org/apache/commons/math4/analysis/function/Atan2.java | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ec8c680..bf792c6 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible
trailing spaces!
</release>
<release version="4.0" date="XXXX-XX-XX" description="">
+ <action dev="erans" type="fix" issue="MATH-1555" due-to="Laurent
Galluccio">
+ "Atan2": Documentation issue.
+ </action>
<action dev="erans" type="add" issue="MATH-1551" due-to="Allen Yu">
"Percentile": Partial support for weighted data.
</action>
diff --git
a/src/main/java/org/apache/commons/math4/analysis/function/Atan2.java
b/src/main/java/org/apache/commons/math4/analysis/function/Atan2.java
index 9fef4f1..5044be6 100644
--- a/src/main/java/org/apache/commons/math4/analysis/function/Atan2.java
+++ b/src/main/java/org/apache/commons/math4/analysis/function/Atan2.java
@@ -28,7 +28,7 @@ import org.apache.commons.math4.util.FastMath;
public class Atan2 implements BivariateFunction {
/** {@inheritDoc} */
@Override
- public double value(double x, double y) {
- return FastMath.atan2(x, y);
+ public double value(double y, double x) {
+ return FastMath.atan2(y, x);
}
}