Skip to content
Snippets Groups Projects
Commit 78859587 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Merge pull request #460 from TomFischer/FixWarning

[ML] Remove unused variable in RadiusEdgeRatioMetric.
parents 161a112e 27d838c7
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,6 @@ void RadiusEdgeRatioMetric::calculateQuality () ...@@ -32,7 +32,6 @@ void RadiusEdgeRatioMetric::calculateQuality ()
{ {
Element const& elem (*elements[k]); Element const& elem (*elements[k]);
std::size_t const n_nodes (elem.getNNodes()); std::size_t const n_nodes (elem.getNNodes());
MeshLib::Node* const*const nodes = elem.getNodes();
std::vector<GeoLib::Point*> pnts(n_nodes); std::vector<GeoLib::Point*> pnts(n_nodes);
std::copy_n(elem.getNodes(), n_nodes, pnts.begin()); std::copy_n(elem.getNodes(), n_nodes, pnts.begin());
GeoLib::MinimalBoundingSphere const s(pnts); GeoLib::MinimalBoundingSphere const s(pnts);
......
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