mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-29 16:24:05 +00:00
some bug in code
This commit is contained in:
parent
d2e0ce446c
commit
e5ca6c83f1
@ -36,7 +36,7 @@ class Minkowski implements Distance
|
||||
throw InvalidArgumentException::sizeNotMatch();
|
||||
}
|
||||
|
||||
$distance = 0;
|
||||
$distance = 1;
|
||||
$count = count($a);
|
||||
|
||||
for ($i = 0; $i < $count; ++$i) {
|
||||
|
Loading…
Reference in New Issue
Block a user