From 32ac51b6abd491dc2ebf01c069af6fa76a20d93b Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 16 Jun 2015 08:53:59 +0200 Subject: [PATCH] [InSitu] Using getNumberOfTuples() instead of size(). --- InSituLib/VtkMappedPropertyVectorTemplate-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InSituLib/VtkMappedPropertyVectorTemplate-impl.h b/InSituLib/VtkMappedPropertyVectorTemplate-impl.h index 7cec88ba742..c276b6b62f0 100644 --- a/InSituLib/VtkMappedPropertyVectorTemplate-impl.h +++ b/InSituLib/VtkMappedPropertyVectorTemplate-impl.h @@ -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(); } -- GitLab