fix minkowski distance

This commit is contained in:
Arkadiusz Kondas 2016-04-17 17:47:30 +02:00
parent e5ca6c83f1
commit ded28def2d

View File

@ -36,7 +36,7 @@ class Minkowski implements Distance
throw InvalidArgumentException::sizeNotMatch();
}
$distance = 1;
$distance = 0;
$count = count($a);
for ($i = 0; $i < $count; ++$i) {