Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 78B5A9EFA for ; Tue, 7 Aug 2012 12:49:13 +0000 (UTC) Received: (qmail 1777 invoked by uid 500); 7 Aug 2012 12:49:13 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 1673 invoked by uid 500); 7 Aug 2012 12:49:13 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 1661 invoked by uid 99); 7 Aug 2012 12:49:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 12:49:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2012 12:49:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9F80E23888CD for ; Tue, 7 Aug 2012 12:48:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1370227 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java Date: Tue, 07 Aug 2012 12:48:25 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120807124825.9F80E23888CD@eris.apache.org> Author: sebb Date: Tue Aug 7 12:48:25 2012 New Revision: 1370227 URL: http://svn.apache.org/viewvc?rev=1370227&view=rev Log: MIssing @Override Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java?rev=1370227&r1=1370226&r2=1370227&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/optimization/fitting/GaussianFitter.java Tue Aug 7 12:48:25 2012 @@ -82,6 +82,7 @@ public class GaussianFitter extends Curv */ public double[] fit(double[] initialGuess) { final Gaussian.Parametric f = new Gaussian.Parametric() { + @Override public double value(double x, double ... p) { double v = Double.POSITIVE_INFINITY; try { @@ -92,6 +93,7 @@ public class GaussianFitter extends Curv return v; } + @Override public double[] gradient(double x, double ... p) { double[] v = { Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java?rev=1370227&r1=1370226&r2=1370227&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java (original) +++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/distribution/AbstractRealDistributionTest.java Tue Aug 7 12:48:25 2012 @@ -98,6 +98,7 @@ public class AbstractRealDistributionTes return true; } + @Override public double probability(final double x) { throw new UnsupportedOperationException(); } @@ -196,6 +197,7 @@ public class AbstractRealDistributionTes return true; } + @Override public double probability(final double x) { throw new UnsupportedOperationException(); }