Skip to content
Snippets Groups Projects
Commit 0dcaba1d authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[PL] use getComponent()

parent 51eb2248
No related branches found
No related tags found
No related merge requests found
...@@ -78,8 +78,7 @@ public: ...@@ -78,8 +78,7 @@ public:
virtual double getValue(std::size_t const node_id, virtual double getValue(std::size_t const node_id,
int const component_id) const override int const component_id) const override
{ {
return _property[node_id * _property.getNumberOfComponents() + return _property.getComponent(node_id, component_id);
component_id];
} }
private: private:
......
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