Repository: commons-numbers Updated Branches: refs/heads/master ad5e98f8b -> 553e49dd3
Changed sqrt1z() method to private Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/553e49dd Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/553e49dd Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/553e49dd Branch: refs/heads/master Commit: 553e49dd33f630339f6b37ad5800c8f8e8d425ed Parents: ad5e98f Author: Eric Barnhill <[email protected]> Authored: Wed Mar 14 12:58:46 2018 +0100 Committer: Eric Barnhill <[email protected]> Committed: Wed Mar 14 12:58:46 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/553e49dd/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 d91c2f1..55fdfd3 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 @@ -1133,7 +1133,7 @@ public class Complex implements Serializable { * * @return the square root of <code>1 - this<sup>2</sup></code>. */ - public Complex sqrt1z() { + private Complex sqrt1z() { return ONE.subtract(square()).sqrt(); }
