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

joinBlocks & splitBlocks #14

Closed randomlogin closed 10 years ago

randomlogin commented 10 years ago

Another issue I've spotted is splitBlocks handling of empty matrices. joinBlocks . splitBlocks a b /= id For example

joinBlocks $ splitBlocks 1 1 $ Data.Matrix.fromList 1 1 [1] would raise an error (the same is true for 1-row and 1-column matrices).

Daniel-Diaz commented 10 years ago

Same issue as in #11. I close this one.