Improved FixedArray

This commit is contained in:
Jacob Støren
2013-12-06 14:22:01 +01:00
parent 819a2ab93e
commit 776ed7755e
2 changed files with 12 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ RigCell::RigCell() :
m_cellIndex(cvf::UNDEFINED_SIZE_T),
m_coarseningBoxIndex(cvf::UNDEFINED_SIZE_T)
{
memcpy(m_cornerIndices.m_array, undefinedCornersArray, 8*sizeof(size_t));
memcpy(m_cornerIndices.data(), undefinedCornersArray, 8*sizeof(size_t));
m_cellFaceFaults[0] = false;
m_cellFaceFaults[1] = false;