mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Properly adjust precision when saving to Market format.
This commit is contained in:
@@ -139,7 +139,7 @@ void check_marketio()
|
||||
m1 = DenseMatrix::Random(rows, cols).sparseView();
|
||||
saveMarket(m1, "sparse_extra.mtx");
|
||||
loadMarket(m2, "sparse_extra.mtx");
|
||||
VERIFY_IS_APPROX(m1,m2);
|
||||
VERIFY_IS_EQUAL(DenseMatrix(m1),DenseMatrix(m2));
|
||||
}
|
||||
|
||||
void test_sparse_extra()
|
||||
|
||||
Reference in New Issue
Block a user