ericbarnhill commented on a change in pull request #4: A small Mode function
URL: https://github.com/apache/commons-statistics/pull/4#discussion_r282150978
 
 

 ##########
 File path: 
commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/CauchyDistribution.java
 ##########
 @@ -65,7 +62,7 @@ public double getMedian() {
      * @return the mode for this distribution.
      */
     public double getMode() {
-        return mode;
+        return getMedian();
 
 Review comment:
   You are free to start a new PR if you think that would help. Can I help you 
fix this? Are you working off a fork of the repository, or a clone of the 
repository?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to