extend unit test for SparseMatrix::prune

This commit is contained in:
Gael Guennebaud
2015-10-13 10:53:38 +02:00
parent ac22b66f1c
commit a44d91a0b2
2 changed files with 10 additions and 12 deletions

View File

@@ -509,7 +509,6 @@ class SparseMatrix
void prune(const KeepFunc& keep = KeepFunc())
{
// TODO optimize the uncompressed mode to avoid moving and allocating the data twice
// TODO also implement a unit test
makeCompressed();
StorageIndex k = 0;