You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/09/12 00:53:22 UTC

svn commit: r1522088 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java

Author: tn
Date: Wed Sep 11 22:53:22 2013
New Revision: 1522088

URL: http://svn.apache.org/r1522088
Log:
Use generic parameter.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java?rev=1522088&r1=1522087&r2=1522088&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/fitting/leastsquares/AbstractLeastSquaresOptimizer.java Wed Sep 11 22:53:22 2013
@@ -68,7 +68,7 @@ public abstract class AbstractLeastSquar
      *
      * @param other Instance to copy.
      */
-    protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer other) {
+    protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer<OPTIM> other) {
         super(other);
 
         target = other.target == null ? null : other.target.clone();