haskell-numerics / hmatrix

Linear algebra and numerical computation
381 stars 104 forks source link

Tests failing on osx #259

Open luntain opened 6 years ago

luntain commented 6 years ago

A few unit tests are failing, not sure if it is just for me. I tried to diagnose the issue and there is a pull request with some test diagnostics. https://github.com/albertoruiz/hmatrix/pull/258

The failing tests are (tests/src/Numeric/LinearAlgebra/Tests.hs):

    , testSlice (linearSolveLS (ogen 5:: Matrix C)) (ogen 5)
    , testSlice (flip linearSolveLS (ogen 5:: Matrix C)) (ogen 5)

    , testSlice (linearSolveSVD (ogen 5:: Matrix C)) (ogen 5)
    , testSlice (flip linearSolveSVD (ogen 5:: Matrix C)) (ogen 5) 

The failure must have something to do with the structure of the matrix, because with comparing element by element these tests pass.

idontgetoutmuch commented 6 years ago

Are you sure this is just on MACos? I commented this test out on master so that CI will work (it works on the CI on my fork). You could try creating a PR against my fork that puts the test back in. The CI is set up to mimic ubuntu. Then we will know if these tests fail on ubuntu also.