Make function in header file inline.

This commit is contained in:
Atgeirr Flø Rasmussen committed 2014-04-15 19:47:04 +02:00
1 parent bfd3246d33
commit f0692b14e9
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ double faceArea(const Dune::CpGrid&, int);
namespace
{
#ifdef HAVE_DUNE_CORNERPOINT
const double* multiplyFaceNormalWithArea(const Dune::CpGrid& grid, int face_index, const double* in)
inline const double* multiplyFaceNormalWithArea(const Dune::CpGrid& grid, int face_index, const double* in)
{
int d=Opm::UgGridHelpers::dimensions(grid);
double* out=new double[d];