diff --git a/Common/DataModel/vtkAMRInformation.cxx b/Common/DataModel/vtkAMRInformation.cxx index a194db662e4..17bcd0f6407 100644 --- a/Common/DataModel/vtkAMRInformation.cxx +++ b/Common/DataModel/vtkAMRInformation.cxx @@ -546,13 +546,13 @@ void vtkAMRInformation::GenerateParentChildInformation() { this->GenerateRefinementRatio(); } - AllChildren.resize(this->GetNumberOfLevels()); - AllParents.resize(this->GetNumberOfLevels()); + this->AllChildren.resize(this->GetNumberOfLevels()); + this->AllParents.resize(this->GetNumberOfLevels()); unsigned int numLevels = this->GetNumberOfLevels(); for(unsigned int i=1; iCalculateParentChildRelationShip(i, AllChildren[i-1], AllParents[i]); + this->CalculateParentChildRelationShip(i, this->AllChildren[i-1], this->AllParents[i]); } }