Use generic parameter.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-09-11 22:53:22 +00:00
parent a0636a7400
commit 0442cddf57
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public abstract class AbstractLeastSquaresOptimizer<OPTIM extends AbstractLeastS
*
* @param other Instance to copy.
*/
protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer other) {
protected AbstractLeastSquaresOptimizer(AbstractLeastSquaresOptimizer<OPTIM> other) {
super(other);
target = other.target == null ? null : other.target.clone();