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

[MeL] Fix PropertyVector::getComponent().

parent 0649eb0b
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,8 @@ public:
{
assert(component < _n_components);
assert(tuple_index < getNumberOfTuples());
return this->operator[](tuple_index* getNumberOfTuples() + component);
return this->operator[](tuple_index* getNumberOfComponents() +
component);
}
PropertyVectorBase* clone(std::vector<std::size_t> const& exclude_positions) const
......
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