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

[App/Python/ogs.mesh] Use std::copy instead for loop

parent 36fd2f89
No related branches found
No related tags found
No related merge requests found
...@@ -43,8 +43,8 @@ std::vector<double> OGSMesh::getPointCoordinates() const ...@@ -43,8 +43,8 @@ std::vector<double> OGSMesh::getPointCoordinates() const
std::vector<double> coordinates; std::vector<double> coordinates;
for (auto const& coords : nodes | MeshLib::views::coords) for (auto const& coords : nodes | MeshLib::views::coords)
{ {
std::copy( std::copy(coords.begin(), coords.end(),
coords.begin(), coords.end(), std::back_inserter(coordinates)); std::back_inserter(coordinates));
} }
return coordinates; return coordinates;
} }
......
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