Fix reference to deprecated transpose in lookup (#1935)
* Fix reference to the deprecated `TRANSPOSE()` function in `LOOKUP()`, pointing to the new `transpose()` method in the `LookupRef\Matrix` class instead
This commit is contained in:
parent
4cd6c7806e
commit
e59c751276
|
|
@ -29,7 +29,7 @@ class Lookup
|
|||
$lookupColumns = self::columnCount($lookupVector);
|
||||
// we correctly orient our results
|
||||
if (($lookupRows === 1 && $lookupColumns > 1) || (!$hasResultVector && $lookupRows === 2 && $lookupColumns !== 2)) {
|
||||
$lookupVector = LookupRef::TRANSPOSE($lookupVector);
|
||||
$lookupVector = LookupRef\Matrix::transpose($lookupVector);
|
||||
$lookupRows = self::rowCount($lookupVector);
|
||||
$lookupColumns = self::columnCount($lookupVector);
|
||||
}
|
||||
|
|
@ -84,7 +84,7 @@ class Lookup
|
|||
|
||||
// we correctly orient our results
|
||||
if ($resultRows === 1 && $resultColumns > 1) {
|
||||
$resultVector = LookupRef::TRANSPOSE($resultVector);
|
||||
$resultVector = LookupRef\Matrix::transpose($resultVector);
|
||||
}
|
||||
|
||||
return $resultVector;
|
||||
|
|
|
|||
Loading…
Reference in New Issue