Fixed small inconsistency.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1571639 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gilles Sadowski 2014-02-25 10:26:55 +00:00
parent 856e3cf007
commit 1358d274db
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class KohonenUpdateActionTest {
final Neuron bestBefore = MapUtils.findBest(features, net, dist); final Neuron bestBefore = MapUtils.findBest(features, net, dist);
// Initial distance from the best match is larger than zero. // 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); update.update(net, features);