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 2018/02/02 13:29:37 UTC

[42/50] commons-numbers git commit: Space around operator (nit-picks).

Space around operator (nit-picks).


Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/1b2eb222
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/1b2eb222
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/1b2eb222

Branch: refs/heads/feature__NUMBERS-51__field
Commit: 1b2eb2220f873f2ba7e45e749c49bc2930af6666
Parents: a4bee70
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
Authored: Thu Feb 1 14:00:31 2018 +0100
Committer: Gilles Sadowski <gi...@harfang.homelinux.org>
Committed: Thu Feb 1 14:00:31 2018 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/commons/numbers/complex/Complex.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/1b2eb222/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
----------------------------------------------------------------------
diff --git a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
index 53e3ff1..93e0614 100644
--- a/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
+++ b/commons-numbers-complex/src/main/java/org/apache/commons/numbers/complex/Complex.java
@@ -946,7 +946,7 @@ public class Complex implements Serializable  {
      *  @return the base 10 logarithm of <code>this</code>.
     */
     public Complex log10() {
-        return new Complex(Math.log(abs())/Math.log(10),
+        return new Complex(Math.log(abs()) / Math.log(10),
                            Math.atan2(imaginary, real));
     }