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:
parent
856e3cf007
commit
1358d274db
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue