Daniel-Diaz / matrix

A Haskell native implementation of matrices and their operations.
BSD 3-Clause "New" or "Revised" License
35 stars 31 forks source link

matrix-0.3.6.0 test suite failure #55

Closed DanBurton closed 6 years ago

DanBurton commented 6 years ago
> dist/build/matrix-examples/matrix-exampl
...
Test (inverse (6)): Failed.

I was able to reproduce this locally like so:

stack unpack matrix-0.3.6.0 && cd matrix-0.3.6.0
echo 'resolver: nightly-2018-03-10' > stack.yaml
stack test
peti commented 6 years ago

I see the same test suite failure in Nixpkgs:

running tests
Running 2 test suites...
Test suite matrix-test: RUNNING...
Test suite matrix-test: PASS
Test suite logged to: dist/test/matrix-0.3.6.0-matrix-test.log
Test suite matrix-examples: RUNNING...
Test (matrix): OK.
Test (fromList): OK.
Test (fromLists (1)): OK.
Test (fromLists (2)): OK.
Test (identity): OK.
Test (diagonalList): OK.
Test (transpose): OK.
Test (extendTo): OK.
Test (mapRow): OK.
Test (mapCol): OK.
Test (mapPos): OK.
Test (submatrix): OK.
Test (minorMatrix): OK.
Test (scaleMatrix): OK.
Test (scaleRow): OK.
Test (combineRows): OK.
Test (switchRows): OK.
Test (switchCols): OK.
Test (toList): OK.
Test (toLists): OK.
Test (inverse (1)): OK.
Test (inverse (2)): OK.
Test (inverse (3)): OK.
Test (inverse (4)): OK.
Test (inverse (5)): OK.
Test (inverse (6)): Failed.
Test suite matrix-examples: FAIL
Test suite logged to: dist/test/matrix-0.3.6.0-matrix-examples.log
1 of 2 test suites (1 of 2 test cases) passed.
Daniel-Diaz commented 6 years ago

This should be fixed now. (matrix-0.3.6.1)

Thanks for the report.