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

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

commit ddd755520011abfcb07f38c74c86dd08b8abfe5f
Author: Alex Herbert <aherb...@apache.org>
AuthorDate: Sat Nov 18 08:25:11 2023 +0000

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

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 6ac570ce..a441a250 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
@@ -2653,7 +2653,7 @@ public final class Complex implements Serializable  {
         }
         return acos(real, imaginary, (re, im) ->
             // Set the sign appropriately for real >= 0
-            (negative(im)) ?
+            negative(im) ?
                 // Multiply by I
                 new Complex(-im, re) :
                 // Multiply by -I

Reply via email to