some bug in code

This commit is contained in:
Arkadiusz Kondas 2016-04-17 17:10:26 +02:00
parent d2e0ce446c
commit e5ca6c83f1

View File

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