Closed Aweptimum closed 6 months ago
In looking around at other issues, I found this statement by @andrewdalpino in the RubixML repo on https://github.com/RubixML/ML/issues/303
I believe we have a fix for this now ... please try compiling the Tensor extension from the latest master branch. Or wait for us to test and release Tensor 3.0.5 and download from PECL.
So I changed from installing the latest release to @master
and re-ran my test. I am now getting the correct answer!
Moreover, I had also been getting a crash when trying the svd
and pseudoinverse
methods, but they also work.
It might be a good idea to tag a new release that includes an upgraded zephir dep - a fix for the self
, static
deprecation errors was just merged in a month ago: https://github.com/zephir-lang/zephir/issues/2405#issuecomment-1934185734
Newest 3.0.5 release fixes the crash, all good. #38 might also be able to be closed, but they manually compiled the extension.
I installed version 3.0.4 of both the composer package (for autocompletion) and the PHP extension (using php-extension-installer) inside of a docker environment.
I verified it was enabled correctly using
php -i
, and then I did a basic multiplication test:What I got back was not the right answer:
It should be:
The first column is fine, however, the last column is shifted over one and the second column (of 4's) is just missing.