Composer fixes
This commit is contained in:
parent
cd2f260db1
commit
8ab02883be
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
echo "::set-output name=flags::--ignore-platform-reqs"
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install --no-progress --prefer-dist --optimize-autoloader ${{ steps.composer-lock.outputs.flags }}
|
||||
run: composer update --no-progress --prefer-dist --optimize-autoloader ${{ steps.composer-lock.outputs.flags }}
|
||||
|
||||
- name: Setup problem matchers for PHP
|
||||
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
||||
|
|
|
|||
|
|
@ -240,11 +240,11 @@ class LUDecomposition
|
|||
/**
|
||||
* Solve A*X = B.
|
||||
*
|
||||
* @param mixed $B a Matrix with as many rows as A and any number of columns
|
||||
* @param Matrix $B a Matrix with as many rows as A and any number of columns
|
||||
*
|
||||
* @return Matrix X so that L*U*X = B(piv,:)
|
||||
*/
|
||||
public function solve($B)
|
||||
public function solve(Matrix $B)
|
||||
{
|
||||
if ($B->getRowDimension() == $this->m) {
|
||||
if ($this->isNonsingular()) {
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ class QRDecomposition
|
|||
*
|
||||
* @return Matrix matrix that minimizes the two norm of Q*R*X-B
|
||||
*/
|
||||
public function solve($B)
|
||||
public function solve(Matrix $B)
|
||||
{
|
||||
if ($B->getRowDimension() == $this->m) {
|
||||
if ($this->isFullRank()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue