Closed sparkofreason closed 5 years ago
This is caused by the intended change in the transfer!
multimethod implementation between nested sequences and matrices. Previously, the nested sequence was always considered to consist of the rows of a matrix, and now it depends of the :layout
. Since the default layout in ge
constructors is :column
, in your example the values are transposed. The solution is to either rearrange the values in the source sequence, or add {:layout :row}
optional argument to the dge
call.
Why does org
throw an error while qrf
seems to return an answer?
The following code worked in 0.24.0:
Updating to 0.25.3 gives the following error:
Looking at the commits from 0.24.0 to 0.25.3, I guessed that
native/dge
as used above would return the transpose of what it did previously, and indeed the following works as before:Not sure why
linear-algebra/org
fails in the first case, whenlinear-algebra/qrf
runs, perhaps something I'm misunderstanding about the underlying implementation.