use the spline class correctly

(i.e., remove a template argument. This only fell through the cracks
because Somerton.hpp is not yet used by a unit test...)
This commit is contained in:
Andreas Lauser
2013-09-23 15:32:27 +02:00
parent 7ad9eb26ef
commit ddd81d4e31

View File

@@ -111,7 +111,7 @@ protected:
static const Scalar sqrtXMin = std::sqrt(xMin);
static const Scalar fPrimeXMin = 1.0/(2*std::sqrt(xMin));
static const Scalar fPrime0 = 2*fPrimeXMin;
typedef Opm::Spline<Scalar, 2> Spline;
typedef Opm::Spline<Scalar> Spline;
static const Spline sqrtRegSpline(0, xMin, // x0, x1
0, sqrtXMin, // y0, y1
fPrime0, fPrimeXMin); // m0, m1