Skip to content

Commit

Permalink
Last Commit went to wrong branch causing Compiler error.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
  • Loading branch information
imikejackson committed Aug 1, 2019
1 parent 1168641 commit 5ed3998
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -379,11 +379,13 @@ int32_t SPParksDumpReader::readHeader()
// Creating a Feature Ids array here in preflight so that it appears in the current data structure // Creating a Feature Ids array here in preflight so that it appears in the current data structure
// This is a temporary array that will be overwritten by the correct array at the end of reading the file // This is a temporary array that will be overwritten by the correct array at the end of reading the file


DataArrayPath fIdsPath(getVolumeDataContainerName(), getCellAttributeMatrixName(), getFeatureIdsArrayName()); DataArrayPath fIdsPath = getVolumeDataContainerName();
QVector<size_t> tDims = {static_cast<size_t>(nx), static_cast<size_t>(ny), static_cast<size_t>(nz)}; fIdsPath.setAttributeMatrixName(getCellAttributeMatrixName());
fIdsPath.setDataArrayName(getFeatureIdsArrayName());
std::vector<size_t> tDims = {static_cast<size_t>(nx), static_cast<size_t>(ny), static_cast<size_t>(nz)};
m->createNonPrereqAttributeMatrix(this, fIdsPath, tDims, AttributeMatrix::Type::Cell); m->createNonPrereqAttributeMatrix(this, fIdsPath, tDims, AttributeMatrix::Type::Cell);


QVector<size_t> cDims = {1}; std::vector<size_t> cDims = {1};
getDataContainerArray()->createNonPrereqArrayFromPath<DataArray<int32_t>, AbstractFilter>(this, fIdsPath, 0, cDims); getDataContainerArray()->createNonPrereqArrayFromPath<DataArray<int32_t>, AbstractFilter>(this, fIdsPath, 0, cDims);


return 0; return 0;
Expand Down

0 comments on commit 5ed3998

Please sign in to comment.