Commit 133381c6 authored by Steffen Müthing's avatar Steffen Müthing

[Cleanup] Remove range-based for introduced by backport of 889dd5bd

parent bb662367
......@@ -93,9 +93,9 @@ namespace Dune
// Use a quadrature rule as a set of test points and loop over them
///////////////////////////////////////////////////////////////////////////////
const Dune::QuadratureRule<ctype, mydim> & quadrature = Dune::QuadratureRules<ctype, mydim>::rule(geometry.type(), 2);
for (const auto& ip : quadrature)
for (size_t i = 0; i < quadrature.size(); ++i)
{
const typename TestGeometry::LocalCoordinate &x = ip.position();
const typename TestGeometry::LocalCoordinate &x = quadrature[i].position();
// Test whether the methods 'local' and 'global' are inverse to each other
if ( (x - geometry.local( geometry.global( x ) )).two_norm() > 1e-8 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment