mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Bug fixes
This commit is contained in:
parent
0491883aad
commit
1222d53dbc
|
|
@ -894,7 +894,7 @@ class Builder extends BuilderAbstract
|
|||
|
||||
public function execute()
|
||||
{
|
||||
$sth = $this->connection->con->prepare($this->toSQL());
|
||||
$sth = $this->connection->con->prepare($this->toSql());
|
||||
$sth->execute();
|
||||
|
||||
return $sth;
|
||||
|
|
|
|||
|
|
@ -69,8 +69,9 @@ class ClassicalDecomposition
|
|||
private function computeSeasonalComponent() : array
|
||||
{
|
||||
$seasonalComponent = [];
|
||||
$count = count($this->data);
|
||||
|
||||
for ($i = 0; $i < $this->orderSize; $i++) {
|
||||
for ($i = 0; $i < $this->dataSize; $i++) {
|
||||
$temp = [];
|
||||
|
||||
for ($j = $i * $this->order; $j < $count; $j += $this->order) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user