Author: erans
Date: Tue Feb 25 10:26:55 2014
New Revision: 1571639
URL: http://svn.apache.org/r1571639
Log:
Fixed small inconsistency.
Modified:
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java
Modified:
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java?rev=1571639&r1=1571638&r2=1571639&view=diff
==============================================================================
---
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java
(original)
+++
commons/proper/math/trunk/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java
Tue Feb 25 10:26:55 2014
@@ -69,7 +69,7 @@ public class KohonenUpdateActionTest {
final Neuron bestBefore = MapUtils.findBest(features, net, dist);
// Initial distance from the best match is larger than zero.
- Assert.assertTrue(dist.compute(bestBefore.getFeatures(), features) >=
0.2 * 0.2);
+ Assert.assertTrue(dist.compute(bestBefore.getFeatures(), features) >=
0.2);
update.update(net, features);