Closed mstksg closed 4 years ago
The issue is here.
When we call toDiag
mulR (isDiag -> Just (0,a,_)) (extract -> b) = mkL (asColumn a * takeRows (LA.size a) b)
The wildcard pattern contains the true number of rows; and asColumn and takeRows don't get it right.
I'll be looking into this myself, just filing an issue to have this be recorded.
It seems to come from
y
being treated internally as a 3x3 matrix, despite its type indicating it should be 5x3.