Open jjdosa opened 1 year ago
I am struggling with the linker on my m1 Mac atm - I hope to fix this tomorrow and then I can test your PR - thanks for contributing :-)
Thank you @idontgetoutmuch for the feedback!
You can ignore the rmat
and camt
matrices as they are unused.
rmat = H.matrix [1,2,3,4] :: H.L 2 2
cmat = H.matrix [1,2,3,4] :: H.M 2 2
They are there because I forgot to remove them after reducing these examples
invDiagR = H.inv $ H.diag (H.takeDiag rmat)
invDiagC = H.inv $ H.diag (H.takeDiag cmat)
into the ones in the PR message.
@lsg6140 and I've found this bug in the
overMatL'
andoverMatM'
functions.A reduced example case we found is that
After loading this module in ghci, executing
invDiagR
andinvDiagC
produces these errors:By replacing
unwrap
withextract
in the definition ofoverMatL
andoverMatM
functions, we've checked that we have the expected results: