imageworks/Field3D

Improvements to SparseField

magnusw opened this issue · 1 comments

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.