From 7fd57f31583c980875afdc60598d0bc7fb7f8a28 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Wed, 9 Jan 2013 13:18:36 +0000 Subject: [PATCH] Unused variable. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430847 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/commons/math3/optim/nonlinear/vector/Weight.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/apache/commons/math3/optim/nonlinear/vector/Weight.java b/src/main/java/org/apache/commons/math3/optim/nonlinear/vector/Weight.java index aa3299aea..56aac3576 100644 --- a/src/main/java/org/apache/commons/math3/optim/nonlinear/vector/Weight.java +++ b/src/main/java/org/apache/commons/math3/optim/nonlinear/vector/Weight.java @@ -39,7 +39,6 @@ public class Weight implements OptimizationData { * @param weight List of the values of the diagonal. */ public Weight(double[] weight) { - final int dim = weight.length; weightMatrix = new DiagonalMatrix(weight); }