a code err
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
An error in the function " int vtkFieldData::GetArrayContainingComponent(int i, int& arrayComp)".
{ int numComp, count=0;
for ( int j=0; j < this->GetNumberOfArrays(); j++ ) { if ( this->Data[j] != NULL ) { numComp = this->Data[j]->GetNumberOfComponents(); if ( j < (numComp + count) ) { arrayComp = i - count; return j; } count += numComp; } } return -1; }
err in the line "if ( j < (numComp + count) )", where j should be i.