Skip to content
Snippets Groups Projects

[GenericGeometry::FieldHelper] Find abs() via argument-dependent lookup, or in std.

Merged Jö Fahlke requested to merge feature/fixes-from-patches into master
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -20,7 +20,10 @@ namespace Dune
template< class Field >
struct FieldHelper
{
static Field abs ( const Field &x ) { return std::abs( x ); }
static Field abs ( const Field &x ) {
using std::abs;
return abs( x );
}
};
Loading