Closed magnusw closed 12 years ago
totalLoadedBlocks() sometimes has issues where the vector lengths don't match up. SparseField::setupBlocks() should use swap-clear to truly deallocate data. SparseField::clear() shouldn't use m_blocks.end() in loop comparison.
Addressed with above pull request.
totalLoadedBlocks() sometimes has issues where the vector lengths don't match up. SparseField::setupBlocks() should use swap-clear to truly deallocate data. SparseField::clear() shouldn't use m_blocks.end() in loop comparison.