mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix tests
This commit is contained in:
parent
1b738dfe5a
commit
b871ba283c
|
|
@ -48,6 +48,10 @@ final class Algebra
|
|||
$n2 = ($isMatrix2 = \is_array($value2[0])) ? \count($value2[0]) : 1;
|
||||
|
||||
if (!$isMatrix1 && $isMatrix2) {
|
||||
$temp = $value1;
|
||||
$value1 = $value1;
|
||||
$value2 = $temp;
|
||||
|
||||
$m1 = \count($value1);
|
||||
$n1 = ($isMatrix1 = \is_array($value1[0])) ? \count($value1[0]) : 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ final class Vector extends Matrix
|
|||
/**
|
||||
* Calculate the eucledian dot product
|
||||
*
|
||||
* @param selft $vector Vector
|
||||
* @param self $vector Vector
|
||||
*
|
||||
* @return float
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user