commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [1/4] [math] Unused variable. Typo.
Date Sun, 20 Sep 2015 19:50:27 GMT
Repository: commons-math
Updated Branches:
  refs/heads/MATH_3_X df1db29ab -> 4f1d85c0b


Unused variable.  Typo.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/bd988f83
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/bd988f83
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/bd988f83

Branch: refs/heads/MATH_3_X
Commit: bd988f8342e575351be1bccbdc1091adc43688e1
Parents: 81ce1b1
Author: Gilles <erans@apache.org>
Authored: Sun Sep 20 19:13:04 2015 +0200
Committer: Gilles <erans@apache.org>
Committed: Sun Sep 20 19:13:04 2015 +0200

----------------------------------------------------------------------
 .../commons/math3/ml/neuralnet/twod/util/HitHistogram.java       | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/bd988f83/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/util/HitHistogram.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/util/HitHistogram.java
b/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/util/HitHistogram.java
index 8c2d5b4..6a8eeaa 100644
--- a/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/util/HitHistogram.java
+++ b/src/main/java/org/apache/commons/math3/ml/neuralnet/twod/util/HitHistogram.java
@@ -19,7 +19,6 @@ package org.apache.commons.math3.ml.neuralnet.twod.util;
 
 import org.apache.commons.math3.ml.neuralnet.MapUtils;
 import org.apache.commons.math3.ml.neuralnet.Neuron;
-import org.apache.commons.math3.ml.neuralnet.Network;
 import org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D;
 import org.apache.commons.math3.ml.distance.DistanceMeasure;
 
@@ -52,10 +51,9 @@ public class HitHistogram implements MapDataVisualization {
         final int nR = map.getNumberOfRows();
         final int nC = map.getNumberOfColumns();
 
-        final Network net = map.getNetwork();
         final LocationFinder finder = new LocationFinder(map);
 
-        // Totla number of samples.
+        // Total number of samples.
         int numSamples = 0;
         // Hit bins.
         final double[][] hit = new double[nR][nC];


Mime
View raw message