mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Fix bugs
This commit is contained in:
parent
b9a82ea08d
commit
632322fa88
|
|
@ -15,6 +15,7 @@ declare(strict_types=1);
|
|||
namespace phpOMS\DataStorage\File;
|
||||
|
||||
use phpOMS\DataStorage\File\QueryType;
|
||||
use phpOMS\DataStorage\Database\Query\JoinType;
|
||||
|
||||
/**
|
||||
* Json query Jsonbuilder.
|
||||
|
|
|
|||
|
|
@ -2,4 +2,34 @@
|
|||
// where create sub array
|
||||
// order
|
||||
// select data from where
|
||||
// limit
|
||||
// limit
|
||||
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.2
|
||||
*
|
||||
* @package phpOMS\DataStorage\File
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://website.orange-management.de
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpOMS\DataStorage\File;
|
||||
|
||||
use phpOMS\DataStorage\File\QueryType;
|
||||
|
||||
/**
|
||||
* Json query JsonGrammar.
|
||||
*
|
||||
* @package phpOMS\DataStorage\File
|
||||
* @license OMS License 1.0
|
||||
* @link http://website.orange-management.de
|
||||
* @since 1.0.0
|
||||
*/
|
||||
final class JsonGrammar
|
||||
{
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -254,13 +254,11 @@ final class SingularValueDecomposition
|
|||
$pp = $p - 1;
|
||||
$iter = 0;
|
||||
|
||||
while (true) {
|
||||
while ($p > 0) {
|
||||
for ($k = $p - 2; $k >= -1; --$k) {
|
||||
if ($k === -1) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (\abs($e[$k]) <= $eps * (\abs($this->S[$k]) + \abs($this->S[$k + 1]))) {
|
||||
} elseif (\abs($e[$k]) <= $eps * (\abs($this->S[$k]) + \abs($this->S[$k + 1]))) {
|
||||
$e[$k] = 0.0;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ abstract class RequestAbstract implements MessageInterface
|
|||
return [];
|
||||
}
|
||||
|
||||
$json = \json_decode($this->data[$key]);
|
||||
$json = \json_decode($this->data[$key], true);
|
||||
|
||||
return $json === false ? [] : $json;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user