Skip to content
Snippets Groups Projects
Commit 32ac51b6 authored by Tom Fischer's avatar Tom Fischer
Browse files

[InSitu] Using getNumberOfTuples() instead of size().

parent 0a111004
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ template <class Scalar> void VtkMappedPropertyVectorTemplate<Scalar>
this->Initialize();
_propertyVector = &propertyVector;
this->NumberOfComponents = _propertyVector->getTupleSize();
this->Size = this->NumberOfComponents * _propertyVector->size();
this->Size = this->NumberOfComponents * _propertyVector->getNumberOfTuples();
this->MaxId = this->Size - 1;
this->Modified();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment