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

 ##########
 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:
   Sir
   May I make a new pull request, with all the same changes and close this pull 
request. Due to some reason the commits in my master branch are not being 
reflected here. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to