Commit 5e1eae75 authored by Janick Gerstenberger's avatar Janick Gerstenberger

[clang] `std::pow` is not constexpr

parent 23feca07
#ifndef DUNE_VOF_HEIGHTFUNCTIONSTENCILS_HH
#define DUNE_VOF_HEIGHTFUNCTIONSTENCILS_HH
#include <dune/common/power.hh>
#include <dune/grid/spgrid/entity.hh>
namespace Dune
......@@ -30,7 +31,7 @@ namespace Dune
using Orientation = std::tuple< int, int >;
static constexpr int noc = std::pow( 3, dim-1 );
static constexpr int noc = StaticPower< 3, dim-1 >::power;
public:
explicit HeightFunctionStencil ( const GridView &gridView, const EntityInfo &entityInfo, const Orientation &orientation, const double tup = 3 )
......
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